Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface SelectOption
Re-export
import { type SelectOption } from "https://deno.land/x/discordeno@17.2.0/template/minimal/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?: bigint; 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.