Plugin
This is the full specification of the Plugin Class
This class is used to make plugins to expand the commands object
The constructor is used to create a blank plugin that would refuse to load
Parameters
Name | Type | Description |
name | string | The name of the plugin, this has to be something unique. |
Name | Type | Description |
initialize | The function that will be called when the function is being initialized |
Name | Type | Description |
initialize | Gets the function that is called when the plugin is initialized. This is used internally | |
commands | Array of bundled commands with the plugin. This is used internally |
Name | Type | Arguments | Returns | Description |
addBundledCommand | function | void | Adds a command to bundle with the plugin |
Last modified 2yr ago