SlashCommandSubcommandBuilder
A builder that creates API-compatible JSON data for slash command subcommands.
export declare class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions
export declare class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions
Implements
ToAPIApplicationCommandOptionsReadonly
description
:
string
The description of this subcommand.
Readonly
name
:
string
The name of this subcommand.
Readonly
The options within this subcommand.
Serializes this builder to API-compatible JSON data.