builders

SlashCommandSubcommandGroupBuilder

export declare class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions 

Summary

Represents a folder for subcommands

For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups

Properties

description

:

string

The description of this subcommand group

name

:

string

The name of this subcommand group

The subcommands part of this subcommand group

Methods

addSubcommand(input)

:

this

Adds a new subcommand to this group

NameTypeOptionalDescription
inputSlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)NoNone

builders