Wrapper function which sets a generic error message to respond with and calls respond()
a base run function to be expanded upon per command, Each command should perform it's main functions within this umbrella function
Gets an an array with all the parameters passed to a command
string[]
A base function that returns whatever reply has been set by other base functions, the command object returns this response after the command has been successfully ran defaults to sending it as a normal message, but can send it as reply if replyTo is set to true
Returns the commands properties, for use in the Help command
object
Returns the syntax of the command
string
The meat of the object, this function is called by the commander object and instantiates the object proper with all required values, then runs the encompassing function and returns the resulting promise object
Generated using TypeDoc
A generic, abstract command class from which all other commands are going to derive