CommandCallbackOptions

Parameter
Description
Type
Required

instance

The NoCliHandler instance

true

client

The Discord.JS Client Instance

true

message

The Discord.JS Message Instance

Message| null

true

interaction

The Discord.JS CommandInteraction Instance

true

options

The Discord.JS CommandInteractionOptionResolver Instance

true

args

The arguments passed to the command

String[]

true

text

The arguments combined into a string

String

true

guild

The guild the command was ran from

Guild| null

true

member

The guild member who ran this command

true

user

The user who ran this command

true

channel

The text channel the command was ran from

true

cancelCooldown

Cancels the cooldown for this command

Function

true

updateCooldown

Updates the cooldown for this command

Function

true

Last updated