Skip to main content
Module

x/biscuit/mod.ts>DiscordSelectMenuComponent

A Discord library that is easy to use but reliable on its core 🥠
Latest
interface DiscordSelectMenuComponent
Re-export
import { type DiscordSelectMenuComponent } from "https://deno.land/x/biscuit@0.2.4/mod.ts";

Properties

type: MessageComponentTypes.SelectMenu
custom_id: string

A custom identifier for this component. Maximum 100 characters.

optional
placeholder: string

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

optional
min_values: number

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

optional
max_values: number

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

The choices! Maximum of 25 items.

optional
disabled: boolean

Whether or not this select menu is disabled

type: MessageComponentTypes.SelectMenu
custom_id: string

A custom identifier for this component. Maximum 100 characters.

optional
placeholder: string

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

optional
min_values: number

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

optional
max_values: number

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

The choices! Maximum of 25 items.

optional
disabled: boolean

Whether or not this select menu is disabled