Skip to main content

Interface: DiscordEventCommand<T>

Type parameters

NameType
Textends keyof ClientEvents = keyof ClientEvents

Hierarchy

  • Module

    DiscordEventCommand

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/core-modules.ts:37


name

Optional name: T

Overrides

Module.name

Defined in

src/types/core-modules.ts:107


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/core-modules.ts:35


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/core-modules.ts:36


type

type: Discord

Overrides

Module.type

Defined in

src/types/core-modules.ts:108

Methods

execute

execute(...args): unknown

Parameters

NameType
...argsClientEvents[T]

Returns

unknown

Overrides

Module.execute

Defined in

src/types/core-modules.ts:109