yor.ts / Exports / YorUserContextMenuCommand

Class: YorUserContextMenuCommand

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new YorUserContextMenuCommand(): YorUserContextMenuCommand

Returns

YorUserContextMenuCommand

Properties

builder

builder: ContextMenuCommandBuilder

Implementation of

UserContextMenuCommand.builder

Defined in

src/structures/YorContextMenuCommand.ts:19


execute

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

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextUserContextMenuCommandInteraction
Returns

void | Promise<void>

Implementation of

UserContextMenuCommand.execute

Defined in

src/structures/YorContextMenuCommand.ts:20