DiscordSelectOption
Documentation / @discordeno/bot / DiscordSelectOption
Interface: DiscordSelectOption
Defined in: packages/types/dist/types/discord/components.d.ts:158
https://discord.com/developers/docs/components/reference#string-select-select-option-structure
Properties
default?
optional
default:boolean
Defined in: packages/types/dist/types/discord/components.d.ts:175
Will render this option as already-selected by default.
description?
optional
description:string
Defined in: packages/types/dist/types/discord/components.d.ts:164
An additional description of the option. Maximum 50 characters.
emoji?
optional
emoji:object
Defined in: packages/types/dist/types/discord/components.d.ts:166
The id, name, and animated properties of an emoji.
animated?
optional
animated:boolean
Whether this emoji is animated
id?
optional
id:string
Emoji id
name?
optional
name:string
Emoji name
label
label:
string
Defined in: packages/types/dist/types/discord/components.d.ts:160
The user-facing name of the option. Maximum 25 characters.
value
value:
string
Defined in: packages/types/dist/types/discord/components.d.ts:162
The dev-defined value of the option. Maximum 100 characters.