Array of aliases for the command. This is optional, you can omit this if you don't want any aliases for a particular command.
Blocks command if there's already an instance of it running under the same user
Access to CommandManager
Cooldown time
Add command description
Disable command.
Command name. This will be used to identify command.
Required permissions to run this command
Runs all functions in the array after Command#exec is executed
Runs all functions in the array before Command#exec is executed
How many usages before command starts cooldown
This is where your main logic should reside for a particular command.
Discord.js Message object
Space seperated arguments
Executes command regardless if argument list is needed.
Discord.js Message object
Space seperated arguments
Helper method to wrap a text message to an embed message and send it.
Discord.js Message object
Text message to be sent
Helper method to send an embed messsage.
Discord.js Message object
Discord.js MessageEmbed object
Generated using TypeDoc
Command is an abstract class that should be extended to make your own custom command. It also needs to be exported as default when using
registerCommands
.