yor.ts / Exports / MessageContextMenuCommand

Interface: MessageContextMenuCommand

Hierarchy

Implemented by

Table of contents

Properties

Properties

builder

builder: ContextMenuCommandBuilder

Inherited from

ContextMenuCommand.builder

Defined in

src/interfaces/Command.ts:22


execute

execute: (context: MessageContextMenuCommandInteraction) => void | Promise<void>

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextMessageContextMenuCommandInteraction
Returns

void | Promise<void>

Defined in

src/interfaces/Command.ts:26