Files
2025-04-13 14:28:21 -04:00

23 lines
408 B
JavaScript

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