From 4efbca5dcf5019adf8b4d121c479573b98019749 Mon Sep 17 00:00:00 2001 From: Alee Date: Thu, 29 Mar 2018 22:07:24 -0400 Subject: fixes --- commands/setmoney.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/setmoney.js b/commands/setmoney.js index f609552..6f547c8 100644 --- a/commands/setmoney.js +++ b/commands/setmoney.js @@ -25,8 +25,7 @@ module.exports.run = async (client, message, args) => { const { RichEmbed } = require('discord.js'); const economy = require('discord-eco') - if (!message.member.permissions.has('ADMINISTRATOR')) return message.reply("It looks like that you don't have the permissions to set your money.") - if (!['242775871059001344',].includes(message.author.id)) return + if (!['242775871059001344',].includes(message.author.id) + !message.member.permissions.has('ADMINISTRATOR')) return message.reply("It looks like that you don't have the permissions to set your money.") if (!args[0]) { message.reply('You need a amount.'); -- cgit v1.2.3