This commit is contained in:
Unknown 2018-02-24 12:41:08 -05:00
parent fed743c6f5
commit bec6fde1f9

View file

@ -1,7 +1,7 @@
exports.run = (bot, msg, args) => {
if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permssion to warn.');
const warnReason = args.slice(1);
const victim = msg.mentions.users.first();
const victim = msg.mentions.memebrs.first();
msg.channel.send(`Successfully logged ${victim.user.tag}'s warning.`);