Files
website/docs/api/interfaces/ContextMenuMsg.md
2024-01-08 18:32:17 +00:00

1.8 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

  • Module

    ContextMenuMsg

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/core-modules.ts:37


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/core-modules.ts:61


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

Overrides

Module.type

Defined in

src/types/core-modules.ts:60