Skip to main content

DiscordSelectOption

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordSelectOption

Interface: DiscordSelectOption

Properties

default?

optional default: boolean

Will render this option as already-selected by default.

Defined in

packages/types/dist/types/discord.d.ts:1656


description?

optional description: string

An additional description of the option. Maximum 50 characters.

Defined in

packages/types/dist/types/discord.d.ts:1645


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

Emoji id

name?

optional name: string

Emoji name

Defined in

packages/types/dist/types/discord.d.ts:1647


label

label: string

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

Defined in

packages/types/dist/types/discord.d.ts:1641


value

value: string

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

Defined in

packages/types/dist/types/discord.d.ts:1643