Skip to content
sern

DiscordEventCommand

Extends

Type parameters

T extends keyof ClientEvents = keyof ClientEvents

Properties

description?

optional description: string

Inherited from

Module.description

Source

src/types/core-modules.ts:39


locals

locals: Record<string, unknown>

Inherited from

Module.locals

Source

src/types/core-modules.ts:44


meta

meta: object

absPath

absPath: string

id

id: string

Inherited from

Module.meta

Source

src/types/core-modules.ts:40


name?

optional name: T

Overrides

Module.name

Source

src/types/core-modules.ts:115


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Source

src/types/core-modules.ts:37


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Source

src/types/core-modules.ts:38


type

type: Discord

Overrides

Module.type

Source

src/types/core-modules.ts:116

Methods

execute()

execute(…args): unknown

Parameters

• …args: ClientEvents[T]

Returns

unknown

Overrides

Module.execute

Source

src/types/core-modules.ts:117