import { type ApplicationCommandOption } from "https://dotland.deno.dev/x/discordeno@18.0.1/transformers/mod.ts";
Properties
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
optional
channelTypes: ChannelTypes[]If the option is a channel type, the channels shown will be restricted to these types