import { type ApplicationCommandOption } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/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
optional
channelTypes: ChannelTypes[]If the option is a channel type, the channels shown will be restricted to these types