Classes
Yor.ts | classes/YorUserContextMenuCommand
yor.ts / Exports / YorUserContextMenuCommand
Class: YorUserContextMenuCommand
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new YorUserContextMenuCommand(): YorUserContextMenuCommand
Returns
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
Name | Type |
---|---|
context | UserContextMenuCommandInteraction |
Returns
void
| Promise
<void
>
Implementation of
UserContextMenuCommand.execute
Defined in
Was this page helpful?