Interface OptionData

The option data to be used in a command.

Hierarchy

  • OptionData

Properties

autocomplete?: boolean
channelTypes?: (GuildText | GuildVoice | GuildCategory | GuildAnnouncement | AnnouncementThread | PublicThread | PrivateThread | GuildStageVoice | GuildForum)[]
choices?: unknown[]
description: string
maxValue?: number
minValue?: number
name: string
required?: boolean
type: "string" | "number" | "boolean" | "integer" | "mentionable" | "channel" | "role" | "user"

Generated using TypeDoc