DiscordApplicationCommandOptionChoice
Documentation / @discordeno/types / DiscordApplicationCommandOptionChoice
Interface: DiscordApplicationCommandOptionChoice
Defined in: discord/interactions.ts:481
Properties
name
name:
string
Defined in: discord/interactions.ts:483
1-100 character choice name
name_localizations?
optionalname_localizations?:Partial<Record<Locales,string>> |null
Defined in: discord/interactions.ts:485
Localization object for the name field. Values follow the same restrictions as name
value
value:
string|number
Defined in: discord/interactions.ts:487
Value for the choice, up to 100 characters if string