Interfaces
Yor.ts | interfaces/Command
Interface: Command
Implemented by
Table of contents
Properties
Properties
autocomplete
• autocomplete: (context
: AutocompleteCommandContext
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | AutocompleteCommandContext |
Returns
void
| Promise
<void
>
Defined in
builder
• builder: SlashCommandBuilder
| SlashCommandSubcommandsOnlyBuilder
| Omit
<SlashCommandBuilder
, "addSubcommand"
| "addSubcommandGroup"
>
Defined in
execute
• execute: (context
: CommandContext
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | CommandContext |
Returns
void
| Promise
<void
>
Defined in
Was this page helpful?