yor.ts / Exports / UserContextMenuCommand

Interface: UserContextMenuCommand

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: UserContextMenuCommandInteraction) => void | Promise<void>

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextUserContextMenuCommandInteraction
Returns

void | Promise<void>

Defined in

src/interfaces/Command.ts:32