Files
website/docs/api/interfaces/ModalSubmitCommand.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
ModalSubmitCommand Interface: ModalSubmitCommand ModalSubmitCommand 0 null

Hierarchy

  • Module

    ModalSubmitCommand

Properties

description

Optional description: string

Inherited from

Module.description

Defined in

src/types/module.ts:38


execute

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

Type declaration

▸ (ctx): unknown

Parameters
Name Type
ctx ModalSubmitInteraction<CacheType>
Returns

unknown

Overrides

Module.execute

Defined in

src/types/module.ts:127


name

Optional name: string

Inherited from

Module.name

Defined in

src/types/module.ts:37


onEvent

onEvent: EventPlugin<Modal>[]

Defined in

src/types/module.ts:125


plugins

plugins: CommandPlugin<keyof CommandModuleDefs>[]

Defined in

src/types/module.ts:126


type

type: Modal

Overrides

Module.type

Defined in

src/types/module.ts:124