Skip to main content

SelectOption

@discordeno/botDocs


Documentation / @discordeno/bot / SelectOption

Interface: SelectOption

Properties

default?

optional default: boolean

Will render this option as already-selected by default.

Defined in

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


description?

optional description: string

An additional description of the option. Maximum 50 characters.

Defined in

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


emoji?

optional emoji: object

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

Defined in

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


label

label: string

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

Defined in

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


value

value: string

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

Defined in

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