class SlashCommandSubcommandGroupBuilder

declare class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions

Represents a folder for subcommandsFor more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups

readonly
description : string

The description of this subcommand group

readonly
name : string

The name of this subcommand group

readonly
options : SlashCommandSubcommandBuilder[]

The subcommands part of this subcommand group

readonlyoptional
description_localizations? : LocalizationMap

Inherited from: SharedNameAndDescription

readonly
description : string

Inherited from: SharedNameAndDescription

readonlyoptional
name_localizations? : LocalizationMap

Inherited from: SharedNameAndDescription

readonly
name : string

Inherited from: SharedNameAndDescription

addSubcommand() : this

Adds a new subcommand to this group

setDescription(
description: string
) : this

Sets the description

Inherited from: SharedNameAndDescription

setDescriptionLocalization(
locale: LocaleString
localizedDescription: string | null
) : this

Sets a description localization

Inherited from: SharedNameAndDescription

setDescriptionLocalizations(
localizedDescriptions: LocalizationMap | null
) : this

Sets the description localizations

Inherited from: SharedNameAndDescription

setName(
name: string
) : this

Sets the name

Inherited from: SharedNameAndDescription

setNameLocalization(
locale: LocaleString
localizedName: string | null
) : this

Sets a name localization

Inherited from: SharedNameAndDescription

setNameLocalizations(
localizedNames: LocalizationMap | null
) : this

Sets the name localizations

Inherited from: SharedNameAndDescription