Files
website/docs/api/interfaces/DiscordEventPlugin.md
2024-05-07 16:25:00 +02:00

1.8 KiB

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

Type parameters

Name Type
T extends keyof ClientEvents = keyof ClientEvents

Hierarchy

  • Plugin

    DiscordEventPlugin

Properties

description

Optional description: string

Deprecated

will be removed in the next update

Inherited from

Plugin.description

Defined in

src/handler/plugins/plugin.ts:33


execute

execute: (args: ClientEvents[T], controller: Controller) => Awaitable<Result<void, void>>

Type declaration

▸ (args, controller): Awaitable<Result<void, void>>

Parameters
Name Type
args ClientEvents[T]
controller Controller
Returns

Awaitable<Result<void, void>>

Defined in

src/handler/plugins/plugin.ts:105


name

Optional name: T

Deprecated

will be removed in the next update

Overrides

Plugin.name

Defined in

src/handler/plugins/plugin.ts:103


type

type: Event

Overrides

Plugin.type

Defined in

src/handler/plugins/plugin.ts:104