woomy-v2/examples/exampleCommand.js
2020-10-28 18:01:22 +11:00

23 lines
No EOL
707 B
JavaScript

// Don't modify the name or category variables, they are set automatically by the loaders.
module.exports = class {
constructor (name, category) {
this.name = name,
this.category = category,
this.enabled = true,
this.devOnly = false,
this.aliases = [],
this.userPerms = [],
this.botPerms = [],
this.cooldown = 2000,
this.help = {
description: 'description',
usage: 'usage',
examples: 'examples'
};
}
// Main function that is called by the message handler when the command is executed
run (client, message, args, data) { //eslint-disable-line no-unused-vars
}
};