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

x/natico/examples/deps.ts>SelectOption

A powerful and customizable framework for Discordeno
Latest
interface SelectOption
Re-export
import { type SelectOption } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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.

default: boolean

Will render this option as already-selected by default.