Plugin

This is the full specification of the Plugin Class

This class is used to make plugins to expand the commands object

Constructor

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.

Setters

Name

Type

Description

initialize

The function that will be called when the function is being initialized

Getters

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

Function

Name

Type

Arguments

Returns

Description

addBundledCommand

function

void

Adds a command to bundle with the plugin

Last updated