Constructor
(abstract) new AbstractCommandPlugin()
Creates a new AbstractCommandPlugin
Members
(abstract) description :String
A description of the plugin
Type:
- String
(abstract) help :Array
An array containing, in this order: name, description, array of command names, array of command descriptions
Type:
- Array
(abstract) name :String
The name of the plugin
Type:
- String
Methods
destroy() → {Promise}
Destroys/unloads the plugin
Returns:
Resolves with no value
- Type
- Promise
(abstract) handle()
Handle a message
load(bot) → {Promise}
Loads the plugin
Parameters:
Name | Type | Description |
---|---|---|
bot |
Bot |
The main client |
Returns:
Resolves with this
- Type
- Promise