aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-25 21:41:43 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-25 21:41:43 -0400
commit865c0495f30020793af1d3e277c97c8b81606f61 (patch)
treec4b8baef4ae32ba9068eca7963def9aaa7402d7d /commands
parentb2b631137ebc04f76b822ed3ca6b973c7fb9f016 (diff)
downloadAleeBot-865c0495f30020793af1d3e277c97c8b81606f61.tar.gz
AleeBot-865c0495f30020793af1d3e277c97c8b81606f61.tar.bz2
AleeBot-865c0495f30020793af1d3e277c97c8b81606f61.zip
Fixes
Diffstat (limited to 'commands')
-rw-r--r--commands/nick.js1
1 files changed, 0 insertions, 1 deletions
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}\``);