Skip to main content

Interface: ButtonCommand

Hierarchy

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/module.ts:38


execute

execute: (ctx: ButtonInteraction<CacheType>) => unknown

Type declaration

▸ (ctx): unknown

Parameters
NameType
ctxButtonInteraction<CacheType>
Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:75


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/module.ts:35


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/module.ts:36


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/module.ts:37


type

type: Button

Overrides

Module.type

Defined in

src/types/module.ts:74