• autocomplete: (context
: AutocompleteCommandContext
) => void
| Promise
<void
>
▸ (context
): void
| Promise
<void
>
Name | Type |
---|---|
context | AutocompleteCommandContext |
void
| Promise
<void
>
• builder: SlashCommandBuilder
| SlashCommandSubcommandsOnlyBuilder
| Omit
<SlashCommandBuilder
, "addSubcommand"
| "addSubcommandGroup"
>
• execute: (context
: CommandContext
) => void
| Promise
<void
>
▸ (context
): void
| Promise
<void
>
Name | Type |
---|---|
context | CommandContext |
void
| Promise
<void
>
• autocomplete: (context
: AutocompleteCommandContext
) => void
| Promise
<void
>
▸ (context
): void
| Promise
<void
>
Name | Type |
---|---|
context | AutocompleteCommandContext |
void
| Promise
<void
>
• builder: SlashCommandBuilder
| SlashCommandSubcommandsOnlyBuilder
| Omit
<SlashCommandBuilder
, "addSubcommand"
| "addSubcommandGroup"
>
• execute: (context
: CommandContext
) => void
| Promise
<void
>
▸ (context
): void
| Promise
<void
>
Name | Type |
---|---|
context | CommandContext |
void
| Promise
<void
>