ApplicationCommandOptionType
constApplicationCommandOptionType:object
Defined in: sdk/js/src/builders/options.ts:9
Option types (standard numbers; 1 and 2 are sub-commands and groups).
Type Declaration
Section titled “Type Declaration”Attachment
Section titled “Attachment”
readonlyAttachment:11=11
Boolean
Section titled “Boolean”
readonlyBoolean:5=5
Channel
Section titled “Channel”
readonlyChannel:7=7
Integer
Section titled “Integer”
readonlyInteger:4=4
Mentionable
Section titled “Mentionable”
readonlyMentionable:9=9
Number
Section titled “Number”
readonlyNumber:10=10
readonlyRole:8=8
String
Section titled “String”
readonlyString:3=3
Subcommand
Section titled “Subcommand”
readonlySubcommand:1=1
SubcommandGroup
Section titled “SubcommandGroup”
readonlySubcommandGroup:2=2
readonlyUser:6=6