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