Runtime validations
You can provide your own runtime validations methods that will return a boolean for if the command should actually be ran or not.
module.exports = (command, usage, prefix) => {
return command.commandName.startsWith("a");
};
Last updated
Was this helpful?