Skip to main content

SelectOption

@discordeno/bot


Documentation / @discordeno/bot / SelectOption

Interface: SelectOption

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

Properties

default?

optional default: boolean

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

Will render this option as already-selected by default.


description?

optional description: string

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

An additional description of the option. Maximum 50 characters.


emoji?

optional emoji: object

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

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:187

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


value

value: string

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

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