Merge remote-tracking branch 'origin/master'

This commit is contained in:
Unknown 2018-02-24 11:56:25 -05:00
commit 758ed0d283

View file

@ -1,7 +1,13 @@
exports.run = (bot, msg, args) => {
<<<<<<< HEAD
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();
=======
if (!message.author.permissions.has("MANAGE_MESSAGES")) return message.channel.send(':warning: You cannot warn members due to your permission level.');
let warnReason = args.slice(1);
var victim = message.mentions.users.first();
>>>>>>> master
msg.channel.send(`Successfully logged ${victim.user.tag}'s warning.`);