woomy-v2/bot/commands/Test/hello.js

22 lines
640 B
JavaScript
Raw Normal View History

2020-10-21 00:38:40 +00:00
module.exports = class {
constructor (name, category) {
this.name = name,
this.category = category,
this.enabled = true,
this.guildOnly = false,
this.devOnly = false,
this.aliases = [],
2020-10-21 07:06:52 +00:00
this.userPerms = ['administrator'],
2020-10-21 00:38:40 +00:00
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
2020-10-21 07:06:52 +00:00
return message.channel.createMessage(`Hello, ${message.author.mention}!`);
2020-10-21 00:38:40 +00:00
}
};