Class: YorUserContextMenuCommand
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new YorUserContextMenuCommand():YorUserContextMenuCommand
Returns
YorUserContextMenuCommand
Properties
builder
• builder:ContextMenuCommandBuilder
Implementation of
UserContextMenuCommand.builderDefined in
src/structures/YorContextMenuCommand.ts:19execute
• execute: (context: UserContextMenuCommandInteraction) => void | Promise<void>
Type declaration
▸ (context): void | Promise<void>
Parameters
| Name | Type |
|---|---|
context | UserContextMenuCommandInteraction |
Returns
void | Promise<void>
