Plugin
This is the full specification of the Plugin Class
Last updated
This is the full specification of the Plugin Class
Last updated
Name
Type
Description
name
string
The name of the plugin, this has to be something unique.
Name
Type
Description
initialize
(o: DjsCommandControlClient, ctx: Commands) =>
DjsCommandControlClient
The function that will be called when the function is being initialized
Name
Type
Description
initialize
(o: DjsCommandControlClient, ctx: Commands) =>
DjsCommandControlClient
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
command: Command
void
Adds a command to bundle with the plugin