woomy-v2/examples/exampleCommand.js

26 lines
No EOL
724 B
JavaScript

/* eslint-disable */
// 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.guildOnly = false,
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) {
}
};