Abstract
The aliases of the command.
The options of the command.
Readonly
clientThe client the command belongs to.
The cooldown of the command.
Readonly
cooldownsThe cooldowns of the command.
Optional
descriptionThe description of the command.
The name of the command.
Abstract
executeThe execute method of the command.
execute(message, { content }) {
message.reply(content);
}
The message that triggered the command.
The arguments of the command.
Validate the command.
The validated arguments.
command.validate(message, ['hello', 'world']); // { content: 'hello world' }
The message that triggered the command.
The arguments of the command.
Validate the command arguments.
The validated arguments.
command.validateArguments(['hello', 'world']); // { content: 'hello world' }
The arguments to validate.
Represents a command.
Example