Skip to main content
Module

x/oasis/deps.ts>DiscordApplicationCommandOptionChoice

An object oriented Discordeno framework
Latest
interface DiscordApplicationCommandOptionChoice
Re-export
import { type DiscordApplicationCommandOptionChoice } from "https://deno.land/x/oasis@2.1.0/deps.ts";

Properties

name: string

1-100 character choice name

optional
name_localizations: Localization | null

Localization object for the name field. Values follow the same restrictions as name

value: string | number

Value for the choice, up to 100 characters if string