Skip to main content

DiscordSelectOption

@discordeno/bot


Documentation / @discordeno/bot / DiscordSelectOption

Interface: DiscordSelectOption

Defined in: packages/types/dist/types/discord.d.ts:1642

Properties

default?

optional default: boolean

Defined in: packages/types/dist/types/discord.d.ts:1659

Will render this option as already-selected by default.


description?

optional description: string

Defined in: packages/types/dist/types/discord.d.ts:1648

An additional description of the option. Maximum 50 characters.


emoji?

optional emoji: object

Defined in: packages/types/dist/types/discord.d.ts:1650

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.d.ts:1644

The user-facing name of the option. Maximum 25 characters.


value

value: string

Defined in: packages/types/dist/types/discord.d.ts:1646

The dev-defined value of the option. Maximum 100 characters.