Class: YorSlashCommand
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new YorSlashCommand():YorSlashCommand
Returns
YorSlashCommand
Properties
autocomplete
• autocomplete: (context
: AutocompleteCommandContext
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | AutocompleteCommandContext |
Returns
void
| Promise
<void
>
Implementation of
Command.autocompleteDefined in
src/structures/YorSlashCommand.ts:17builder
• builder:SlashCommandBuilder
| SlashCommandSubcommandsOnlyBuilder
| Omit
<SlashCommandBuilder
, "addSubcommand"
| "addSubcommandGroup"
>
Implementation of
Command.builderDefined in
src/structures/YorSlashCommand.ts:12execute
• execute: (context
: CommandContext
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | CommandContext |
Returns
void
| Promise
<void
>