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
src/interfaces/Command.ts:18builder
• builder:SlashCommandBuilder
| SlashCommandSubcommandsOnlyBuilder
| Omit
<SlashCommandBuilder
, "addSubcommand"
| "addSubcommandGroup"
>
Defined in
src/interfaces/Command.ts:13execute
• execute: (context
: CommandContext
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | CommandContext |
Returns
void
| Promise
<void
>