Files
website/docs/api/interfaces/ContextMenuMsg.md
2023-07-17 09:55:43 -05: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:35


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


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/core-modules.ts:32


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Defined in

src/types/core-modules.ts:33


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Defined in

src/types/core-modules.ts:34


type

type: CtxMsg

Overrides

Module.type

Defined in

src/types/core-modules.ts:58