Search...

SlashCommandSubcommandBuilder

declare class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions 
declare class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions 
Represents a subcommandFor more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups

Implements

ToAPIApplicationCommandOptions
Readonly

description

:

string

The description of this subcommand
Readonly

name

:

string

The name of this subcommand
Readonly

options

:

ApplicationCommandOptionBase[]

The options of this subcommand

toJSON()

:

APIApplicationCommandSubcommandOption