kick people

This commit is contained in:
Loïc Bersier 2018-09-06 17:28:49 +02:00
parent 76e6d3f611
commit 0881809db7

View file

@ -4,7 +4,7 @@ exports.run = (client, message, [mention, ...reason]) => {
return console.log("The Staff role does not exist"); return console.log("The Staff role does not exist");
if (!message.member.roles.has(StaffRole.id)) if (!message.member.roles.has(StaffRole.id))
return message.reply("You can't use this command."); return message.reply("Sick you thought");
if (message.mentions.members.size === 0) if (message.mentions.members.size === 0)
return message.reply("Please mention a user to kick"); return message.reply("Please mention a user to kick");