woomy-v2/bot/commands/Test/hello.js
2020-10-21 18:06:52 +11:00

22 lines
No EOL
640 B
JavaScript

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 = ['administrator'],
this.botPerms = [],
this.cooldown = 2000,
this.help = {
description: 'Say hi!',
usage: 'hello',
examples: null
};
}
run (client, message, args, data) { // eslint-disable-line no-unused-vars
return message.channel.createMessage(`Hello, ${message.author.mention}!`);
}
};