Interface: ApplicationCommandOption
Hierarchy
ApplicationCommandOption
Properties
choices
• Optional choices: ApplicationCommandOptionChoice[]
choices of the command option,You can specify a maximum of 25 choices per option
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:85
description
• description: string
description of the command option (1 to 100 characters)
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}$)
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:71
required
• required: boolean
if the option is required
Default
false
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