Files
website/docs/api/interfaces/ButtonCommand.md
2022-12-28 22:43:41 +03:00

1.9 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
ButtonCommand Interface: ButtonCommand ButtonCommand 0 null

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
Name Type
ctx ButtonInteraction<CacheType>
Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:85


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/module.ts:37


onEvent

onEvent: EventPlugin<Button>[]

Defined in

src/types/module.ts:83


plugins

plugins: CommandPlugin<keyof CommandModuleDefs>[]

Defined in

src/types/module.ts:84


type

type: Button

Overrides

Module.type

Defined in

src/types/module.ts:82