Interface: EventPlugin<T>
Deprecated
Use the newer helper functions
Type parameters
| Name | Type |
|---|---|
T | extends CommandType |
Properties
description
• Optional description: string
Defined in
execute
• execute: (args: CommandArgs<T, Event>, controller?: Controller) => PluginResult
Type declaration
▸ (args, controller?): PluginResult
Parameters
| Name | Type |
|---|---|
args | CommandArgs<T, Event> |
controller? | Controller |
Returns
Defined in
name
• Optional name: string
Defined in
type
• type: Event