ForgeRegistry

ForgeRegistry

This is the ForgeRegistry Register all the stuff to it

Constructor

new ForgeRegistry(client)

Parameters:
Name Type Description
client Client

The client that instantiated the registry

Source:

Methods

registerAlias(command, alias)

Registers an alias for a command

Parameters:
Name Type Description
command Command

The command to set an alias for

alias string | Array.<string>

the alias to set

Source:

registerCommand(command)

Registers a command

Parameters:
Name Type Description
command Command

The command to register

Source:

registerPlugin(plugin)

Registers a plugin to the registry

Parameters:
Name Type Description
plugin Plugin

The plugin to register

Source:

removeCommand(command)

Removes a command from the command registry

Parameters:
Name Type Description
command Command

The command to remove

Source:

removePlugin(plugin)

Removes a plugin from the registry

Parameters:
Name Type Description
plugin Plugin

The plugin to register

Source: