Returns a runtime object corresponding to the current module.
This method gets executed when a command invoked by a participant fails.
the error
the message the user sent that caused the error
the command module whose execution failed
Gets called when the bot starts listening.
Gets called when the bot is shutting down.
Generated using TypeDoc
Handles failures caused by a command's execution.
This is useful for example for sending a user-friendly message to the chat to let know the user that their command could not be executed, or sending the details of the failure to the user that manages the bot.
2.0.0