A readonly collection of commands.
Loads all build-in commands
Loads build-in commands.
A list of build-in commands.
Loads commands from the given folder path.
Command files must have the extension .cmd.js
.
The path to the folder where the commands are (relative to node entry point).
If set to true
, files with .cmd.ts
extension are also loaded. Usefull if you use ts-node
(default is false
)
Parses the message's content and executes the command.
The message to parse.
Options to define the parsing behaviour.
The result of the parsing.
Reloads a command.
The command to reload.
Generated using TypeDoc
If defined, called when Command.help is called and if the command didn't define its own help handler.