Skip to main content

Interface: EventPlugin<T>

Deprecated

Use the newer helper functions

Type parameters

NameType
Textends CommandType

Properties

description

Optional description: string

Defined in

src/types/plugin.ts:64


execute

execute: (args: CommandArgs<T, Event>, controller?: Controller) => PluginResult

Type declaration

▸ (args, controller?): PluginResult

Parameters
NameType
argsCommandArgs<T, Event>
controller?Controller
Returns

PluginResult

Defined in

src/types/plugin.ts:66


name

Optional name: string

Defined in

src/types/plugin.ts:63


type

type: Event

Defined in

src/types/plugin.ts:65