import { type ApplicationCommandOption } from "https://deno.land/x/discordeno@13.0.0-rc45/template/minimal/deps.ts";
Properties
Value of Application Command Option Type
optional
choices: DiscordApplicationCommandOptionChoice[]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