AbstractEventPlugin

AbstractEventPlugin

Handles events emitted from eris

Constructor

(abstract) new AbstractEventPlugin()

Creates a new AbstractEventPlugin

Members

(abstract) name :String

The name of the plugin

Type:
  • String

Methods

destroy() → {Promise}

Destroys/unloads the plugin

Returns:

Resolves with no value

Type
Promise

load(bot) → {Promise}

Loads the plugin

Parameters:
Name Type Description
bot Bot

The main client

Returns:

Resolves with this

Type
Promise