From 865c0495f30020793af1d3e277c97c8b81606f61 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 25 Jul 2020 21:41:43 -0400 Subject: Fixes --- commands/nick.js | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/nick.js b/commands/nick.js index bb3709b..f65bf74 100644 --- a/commands/nick.js +++ b/commands/nick.js @@ -19,7 +19,6 @@ * *************************************/ module.exports.run = async (client, message, args) => { if (!message.guild.member(client.user).hasPermission('MANAGE_NICKNAME')) return message.reply('**ERROR:** I can\'t change nicknames. (Check permissions)'); - if (message.guild.member(client.user).hasPermission('ADMINISRTATOR')) return message.reply('**ERROR:** Since you have admin permissions you are allowed to change your nickanme.'); const nick = args.join(' '); message.member.setNickname(nick); message.channel.send(`Alright! I changed your nickname to \`${nick}\``); -- cgit v1.2.3