The old list of raw arguments.
Returns the arguments joined with a space between each.
Returns the list of arguments of the command.
Returns the channel where the command was executed.
Returns the client.
Returns the name of the command executed.
Returns the content of the message.
Returns the guild of the message.
Returns true if the arguments are calling a SubCommand.
Returns the member of the message, null
if executed in private messages.
Returns the prefix used in the message.
Returns the channel where the command was executed as a TextChannel or undefined if it isn't.
Returns the channel where the command was executed as a ThreadChannel or undefined if it isn't.
Returns the author of the message.
Returns an argument.
If the argument is errored or not found it will return null
.
The type of the argument.
The name of the argument.
Create a Thread, returns undefined if already in a Thread.
The options of the Thread.
Deletes the message with an optional timeout.
The time to wait in milliseconds before deleting the message.
Add one or multiple reactions to a message.
The emoji to react with, can be custom or native.
Remove all the reactions.
Remove one or multiple reactions from emojis.
The list of emoji reactions to remove.
Remove one or multiple reactions from the bot.
The emojis the bot has to remove reaction from.
Resolves one of the argument. If the argument is errored it will return a CommandError.
The type of the argument.
The name of the argument.
Resolves all of the arguments of the command. If an argument has an error it will return a CommandError.
Sends the help menu from the default HelpCommand
command (even if you are not using it).
Sends the help menu of the command from the default HelpCommand
command (even if you are not using it).
The name of the command to send the help menu.
The argument parser of this context, if the command has no arguments it will be undefined.
The command itself.
The handler.
The message that executed the command.
The arguments in the message.
Creates a new CommandContext associated to a Command.
The options of the CommandContext.
Generated using TypeDoc
https://ayfri.gitbook.io/advanced-command-handler/concepts/commands/context