The client that this command will be used by.
Readonly
aliasesAliases for this command.
Command
[]
Readonly
clientThe client that this command will be used by.
Command
Readonly
descriptionThe description of this command.
Command
Private
Readonly
embedThe color of the embed for the help message.
HelpRegularCommand
Private
Readonly
embedThe thumbnail of the embed for the help message.
HelpRegularCommand
Readonly
emojiThe emoji of this command. This is used by the default HelpSlashCommand.
Command
🤖
The group that this command is registered to.
This gets initialized on command registration.
Command
Readonly
groupIDThe ID of the group that this command is registered to.
Command
Readonly
guildWhether this command may only be used in a guild.
Command
false
Readonly
nameThe name of this command.
Command
Readonly
nsfwWhether this command may only be used in a NSFW channel.
Command
false
Readonly
ownerWhether this command may only be used by the bot's owner.
Command
false
Readonly
ownerWhether the bot's owner can execute this command even if they don't have the required permissions.
Command
true
Readonly
userThe permissions resolvable that defines the permissions that a user requires to execute this command.
Command
null
Check whether the message author can execute this command.
The message that triggered this command.
true
if the user has enough permissions, or a string with the reason why they cannot execute this command.
Handle command error.
The error that was thrown inside the command's run method.
The message that triggered this command.
client#commandError
Prepare the fields that will be added to the embed based on all the commands registered on the client. The title of the field will be the group's name and the text will be the list of commands.
An array of objects that contain the field's title and text.
Generated using TypeDoc
The default help message. This regular command is part of the
misc
group.The help message will look like this: