Skip to main content

Interface: ButtonCommand

Hierarchy

  • Module

    ButtonCommand

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/core-modules.ts:37


execute

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

Type declaration

▸ (ctx): unknown

Parameters
NameType
ctxButtonInteraction<CacheType>
Returns

unknown

Overrides

Module.execute

Defined in

src/types/core-modules.ts:66


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/core-modules.ts:34


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: Button

Overrides

Module.type

Defined in

src/types/core-modules.ts:65