Files
archived-sern-website/docs/api/interfaces/EventPlugin.md
2023-01-26 15:47:53 -06:00

1.5 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
EventPlugin Interface: EventPlugin<T> EventPlugin 0 null

Deprecated

Use the newer helper functions

Type parameters

Name Type
T extends CommandType

Properties

description

Optional description: string

Defined in

src/types/plugin.ts:61


execute

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

Type declaration

▸ (args, controller?): PluginResult

Parameters
Name Type
args CommandArgs<T, Event>
controller? Controller
Returns

PluginResult

Defined in

src/types/plugin.ts:63


name

Optional name: string

Defined in

src/types/plugin.ts:60


type

type: Event

Defined in

src/types/plugin.ts:62