From 969859634ce8260f53ade5d77abb6739a209bba8 Mon Sep 17 00:00:00 2001 From: Trollhunters501 <91704943+Trollhunters501@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:12:45 -0600 Subject: [PATCH] Create ManagerFunc.md All Function by Manager --- Manager info/ManagerFunc.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Manager info/ManagerFunc.md diff --git a/Manager info/ManagerFunc.md b/Manager info/ManagerFunc.md new file mode 100644 index 0000000..3043fed --- /dev/null +++ b/Manager info/ManagerFunc.md @@ -0,0 +1,11 @@ +# Functions: +See the example files for better context + - manager.getFile(folder, archive) return create a file in the specified folder with the specified file name. + - manager.createConfig(file, type) return new Config from the script. + - manager.createCommand(name, description, functionName) return create a command with the specifications. + - manager.createTask(functionName, delay) return create a task with specifications. + - manager.createLoopTask(functionName, delay) return create a repetitive task with the specifications. + - manager.cancelTask(id) return cancels a task with the specification. + - manager.getPlugin(name) return know if there is a plugin by name. + - manager.time(seconds) return a talkable time (convert seconds into minutes, hours, etc.) + - manager.format(msg, args) return adds a format to a message with the specified variable example with %p