class SharedSlashCommandSubcommands

export declare class SharedSlashCommandSubcommands<TypeAfterAddingSubcommands extends SharedSlashCommandSubcommands<TypeAfterAddingSubcommands>>

This mixin holds symbols that can be shared in slash subcommands.

Type Parameters

TypeAfterAddingSubcommands extends SharedSlashCommandSubcommands<TypeAfterAddingSubcommands>

The type this class should return after adding a subcommand or subcommand group.

readonly
options : ToAPIApplicationCommandOptions[]

addSubcommand() : TypeAfterAddingSubcommands

Adds a new subcommand to this command.

addSubcommandGroup() : TypeAfterAddingSubcommands

Adds a new subcommand group to this command.