mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 09:55:31 +00:00
16 lines
435 B
JavaScript
16 lines
435 B
JavaScript
var app = require('../app.js');
|
|
var logger = require('../logging.js');
|
|
|
|
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.sendMessage(replyMessage);
|
|
}
|