Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordSelectOption

An object oriented Discordeno framework
Latest
interface DiscordSelectOption
import { type DiscordSelectOption } from "https://deno.land/x/oasis@2.1.0/packages/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.