import { type ApplicationCommandOption } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";
Properties
Value of Application Command Option Type
optional
nameLocalizations: LocalizationLocalization object for the name
field. Values follow the same restrictions as name
optional
descriptionLocalizations: LocalizationLocalization object for the description
field. Values follow the same restrictions as description
optional
choices: ApplicationCommandOptionChoice[]Choices for string
and int
types for the user to pick from
optional
options: ApplicationCommandOption[]If the option is a subcommand or subcommand group type, this nested options will be the parameters
if autocomplete interactions are enabled for this String
, Integer
, or Number
type option
optional
channelTypes: ChannelTypes[]If the option is a channel type, the channels shown will be restricted to these types