Interface: ApplicationCommandOptionWithSubCommand
Hierarchy
↳
ApplicationCommandOptionWithSubCommand
Properties
choices
• Optional choices: ApplicationCommandOptionChoice[]
choices of the command option,You can specify a maximum of 25 choices per option
Inherited from
ApplicationCommandOption.choices
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:85
description
• description: string
description of the command option (1 to 100 characters)
Inherited from
ApplicationCommandOption.description
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:75
name
• name: string
name of the command option (1 to 32 characters that match ^[\w-]{1,32}$)
Inherited from
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:71
options
• Optional options: ApplicationCommandOptionWithSubCommand
options of command subCommand/subCommandGroup
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:93
required
• required: boolean
if the option is required
Default
false
Inherited from
ApplicationCommandOption.required
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:80
type
• type: "string" | "boolean" | "channel" | "user" | "integer" | "mentionable" | "role" | "subCommand" | "subCommandGroup"
the type of the command option