Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface SelectMenuUsersAndRolesComponent
import { type SelectMenuUsersAndRolesComponent } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";

Properties

type: MessageComponentTypes.SelectMenuUsersAndRoles

SelectMenuChannels Component is of type 7

customId: 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
minValues: number

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

optional
maxValues: number

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

options: SelectOption[]

The choices! Maximum of 25 items.

optional
disabled: boolean

Whether or not this select is disabled