export declare class SharedSlashCommandSubcommands<TypeAfterAddingSubcommands extends SharedSlashCommandSubcommands<TypeAfterAddingSubcommands>>
This mixin holds symbols that can be shared in slash subcommands.
Type Parameters
SharedSlashCommandSubcommands<TypeAfterAddingSubcommands> TypeAfterAddingSubcommands extends
The type this class should return after adding a subcommand or subcommand group.
readonlyToAPIApplicationCommandOptions[] options :
addSubcommandinput: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)) : TypeAfterAddingSubcommands (
input: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)
Adds a new subcommand to this command.
addSubcommandGroupinput: SlashCommandSubcommandGroupBuilder | ((subcommandGroup: SlashCommandSubcommandGroupBuilder) => SlashCommandSubcommandGroupBuilder)) : TypeAfterAddingSubcommands (
input: SlashCommandSubcommandGroupBuilder | ((subcommandGroup: SlashCommandSubcommandGroupBuilder) => SlashCommandSubcommandGroupBuilder)
Adds a new subcommand group to this command.