Files
website/docs/api/interfaces/ContextMenuMsg.md
2023-04-15 15:08:05 -05:00

2.0 KiB

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

Hierarchy

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/module.ts:38


execute

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

Type declaration

▸ (ctx): unknown

Parameters
Name Type
ctx MessageContextMenuCommandInteraction<CacheType>
Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:70


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

Overrides

Module.type

Defined in

src/types/module.ts:69