Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordSelectOption
import { type DiscordSelectOption } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/deps.ts";

Properties

label: string

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

value: string

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

optional
description: string

An additional description of the option. Maximum 50 characters.

optional
emoji: { id?: string; name?: string; animated?: boolean; }

The id, name, and animated properties of an emoji.

optional
default: boolean

Will render this option as already-selected by default.