APIApplicationCommandOption
Defined in: packages/types/src/index.ts:1069
Raw Discord application command option.
Properties
Section titled “Properties”autocomplete?
Section titled “autocomplete?”
optionalautocomplete?:boolean
Defined in: packages/types/src/index.ts:1080
channel_types?
Section titled “channel_types?”
optionalchannel_types?:number[]
Defined in: packages/types/src/index.ts:1081
choices?
Section titled “choices?”
optionalchoices?:object[]
Defined in: packages/types/src/index.ts:1074
name:
string
value:
string|number
description
Section titled “description”description:
string
Defined in: packages/types/src/index.ts:1072
max_length?
Section titled “max_length?”
optionalmax_length?:number
Defined in: packages/types/src/index.ts:1079
max_value?
Section titled “max_value?”
optionalmax_value?:number
Defined in: packages/types/src/index.ts:1077
min_length?
Section titled “min_length?”
optionalmin_length?:number
Defined in: packages/types/src/index.ts:1078
min_value?
Section titled “min_value?”
optionalmin_value?:number
Defined in: packages/types/src/index.ts:1076
name:
string
Defined in: packages/types/src/index.ts:1071
options?
Section titled “options?”
optionaloptions?:APIApplicationCommandOption[]
Defined in: packages/types/src/index.ts:1075
required?
Section titled “required?”
optionalrequired?:boolean
Defined in: packages/types/src/index.ts:1073
type:
number
Defined in: packages/types/src/index.ts:1070