woomy-v2/bot/commands/Test/hello.js
2020-10-23 14:26:00 +11:00

21 lines
No EOL
608 B
JavaScript

module.exports = class {
constructor (name, category) {
this.name = name,
this.category = category,
this.enabled = true,
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}!`);
}
};