mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 15:45:37 +01:00
12 lines
356 B
JavaScript
12 lines
356 B
JavaScript
exports.roles = ['Admins', 'Moderators'];
|
|
exports.command = function (message, reply) {
|
|
let replyMessage = 'Hello.';
|
|
if (reply == null) {
|
|
replyMessage = message.content.substr(message.content.indexOf(' ') + 1);
|
|
} else {
|
|
replyMessage = `${message.mentions.users.map(user => `${user}`)} ${reply}`;
|
|
}
|
|
|
|
message.channel.send(replyMessage);
|
|
};
|