CommandHandler class
Last updated
Last updated
The CommandHandler class extends the NodeJS built-in EventEmitter class.
The CommandHandler class requires one argument, which is the json object of an instance of the Zyno Bot Addons CommandBuilder class.
The name of the command.
The description given to the command.
A unique randomly created id by the Zyno Bot Addons module to identify the command.
execute
Gets emitted when the command is being used by a member in a Discord server.