Files
xiao/commands/single/hi.js
T
2018-05-30 12:04:21 +00:00

23 lines
414 B
JavaScript

const Command = require('../../structures/Command');
module.exports = class HiCommand extends Command {
constructor(client) {
super(client, {
name: 'hi',
aliases: ['hello', 'hey', 'hoi', 'hola'],
group: 'single',
memberName: 'hi',
description: 'Hello.'
});
}
async run(msg) {
try {
await msg.react('👋');
return null;
} catch (err) {
return msg.reply('Hi there!');
}
}
};