Skip to main content

SelectOption

@discordeno/bot


Documentation / @discordeno/bot / SelectOption

Interface: SelectOption

Defined in: packages/types/dist/types/discordeno.d.ts:173

Properties

default?

optional default: boolean

Defined in: packages/types/dist/types/discordeno.d.ts:190

Will render this option as already-selected by default.


description?

optional description: string

Defined in: packages/types/dist/types/discordeno.d.ts:179

An additional description of the option. Maximum 50 characters.


emoji?

optional emoji: object

Defined in: packages/types/dist/types/discordeno.d.ts:181

The id, name, and animated properties of an emoji.

animated?

optional animated: boolean

Whether this emoji is animated

id?

optional id: bigint

Emoji id

name?

optional name: string

Emoji name


label

label: string

Defined in: packages/types/dist/types/discordeno.d.ts:175

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


value

value: string

Defined in: packages/types/dist/types/discordeno.d.ts:177

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