yor.ts / Exports / YorMessageContextMenuCommand

Class: YorMessageContextMenuCommand

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new YorMessageContextMenuCommand(): YorMessageContextMenuCommand

Returns

YorMessageContextMenuCommand

Properties

builder

builder: ContextMenuCommandBuilder

Implementation of

MessageContextMenuCommand.builder

Defined in

src/structures/YorContextMenuCommand.ts:12


execute

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

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextMessageContextMenuCommandInteraction
Returns

void | Promise<void>

Implementation of

MessageContextMenuCommand.execute

Defined in

src/structures/YorContextMenuCommand.ts:13