Skip to content

Commit

Permalink
Create ManagerFunc.md
Browse files Browse the repository at this point in the history
All Function by Manager
  • Loading branch information
Trollhunters501 authored Oct 20, 2023
1 parent 3bddf94 commit 9698596
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Manager info/ManagerFunc.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9698596

Please sign in to comment.