Latest
interface DiscordApplicationCommandOptionChoice
import { type DiscordApplicationCommandOptionChoice } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/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

import DiscordApplicationCommandOptionChoice
import { DiscordApplicationCommandOptionChoice } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";