Skip to content
sern

DiscordEventCommand

Extends

  • Module

Type parameters

T extends keyof ClientEvents = keyof ClientEvents

Properties

description?

optional description: string

Inherited from

Module.description

Source

src/types/core-modules.ts:36


name?

optional name: T

Overrides

Module.name

Source

src/types/core-modules.ts:106


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Source

src/types/core-modules.ts:34


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Source

src/types/core-modules.ts:35


type

type: Discord

Overrides

Module.type

Source

src/types/core-modules.ts:107

Methods

execute()

execute(…args): unknown

Parameters

• …args: ClientEvents[T]

Returns

unknown

Overrides

Module.execute

Source

src/types/core-modules.ts:108