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