Skip to main content

SelectMenuComponent

@discordeno/botDocs


Documentation / @discordeno/bot / SelectMenuComponent

Interface: SelectMenuComponent

https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-menu-structure

Properties

customId

customId: string

A custom identifier for this component. Maximum 100 characters.

Defined in

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


disabled?

optional disabled: boolean

Whether or not this select is disabled

Defined in

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


maxValues?

optional maxValues: number

The maximum number of items that can be selected. Default 1. Between 1-25.

Defined in

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


minValues?

optional minValues: number

The minimum number of items that must be selected. Default 1. Between 1-25.

Defined in

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


options

options: SelectOption[]

The choices! Maximum of 25 items.

Defined in

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


placeholder?

optional placeholder: string

A custom placeholder text if nothing is selected. Maximum 150 characters.

Defined in

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


type

type: SelectMenu

SelectMenu Component is of type 3

Defined in

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