Constructors
constructor
- new Plugin<ConfigType>(context: DiscordBot, _config?: ConfigType): Plugin<ConfigType>
-
Type parameters
Parameters
-
-
Optional _config: ConfigType
Returns Plugin<ConfigType>
Properties
Protected config
config: ConfigType
Private handlers
handlers: {} = {}
Static defaultConfig
defaultConfig: any
Removes the plugin's hooks from the bot. It's up to the plugin developer to not break anything.