GuildExtention

GuildExtention

Custom guild class extention, addes the needed thingies

Methods

changePrefix(Prefix)

Changes the guild's prefix

Parameters:
Name Type Description
Prefix string

the new prefix for the guild

Source:

disablePlugin(plugin)

Disables a plugin

Parameters:
Name Type Description
plugin string

the id of the plugin to disable

Source:

enablePlugin(plugin)

Enables a plugin

Parameters:
Name Type Description
plugin string

the id of the plugin to disable

Source:

registerCommand(command)

Registers a command to the guild

Parameters:
Name Type Description
command Command

The command to register

Source:

removeCommand(command)

Removes a command from the guild

Parameters:
Name Type Description
command Command

The command to remove

Source: