Type aliases
CommandContextOptions
Command
Context
Options
: { args
: string[]; bot
: BotClient; message
: Message; prefix
: string | null; query
: string }Type declaration
args: string[]
message: Message
prefix: string | null
query: string
CommandOptions
Command
Options
: { aliases
?: string[]; category
: CommandCategories; description
?: string; enabled
?: boolean; guildOnly
?: boolean; name
: string; options
?: ApplicationCommandOptionData[]; ownerOnly
?: boolean; permission
?: PermissionLevel; usage
?: string }Type declaration
Optional aliases?: string[]
Optional description?: string
Optional enabled?: boolean
Optional guildOnly?: boolean
name: string
Optional options?: ApplicationCommandOptionData[]
Optional ownerOnly?: boolean
Optional usage?: string
SlashContextOptions
Slash
Context
Options
: { bot
: BotClient; commandInteraction
: CommandInteraction }Type declaration
commandInteraction: CommandInteraction
Options used to build CommandContext