diff options
| author | Alee <alee14498@gmail.com> | 2018-03-25 16:08:17 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-25 16:08:17 -0400 |
| commit | 5833b13dda05d86f73daa27f530fa25fd3ec7618 (patch) | |
| tree | 335d60c792fd96aa6f229487609211cfaaea6a5e /commands/setmoney.js | |
| parent | 77bccfb5cfbba15e749055bc5c756927638a4707 (diff) | |
| download | AleeBot-5833b13dda05d86f73daa27f530fa25fd3ec7618.tar.gz AleeBot-5833b13dda05d86f73daa27f530fa25fd3ec7618.tar.bz2 AleeBot-5833b13dda05d86f73daa27f530fa25fd3ec7618.zip | |
Changes
Diffstat (limited to 'commands/setmoney.js')
| -rw-r--r-- | commands/setmoney.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/setmoney.js b/commands/setmoney.js index f979c40..954a022 100644 --- a/commands/setmoney.js +++ b/commands/setmoney.js @@ -25,7 +25,7 @@ module.exports.run = async (client, message, args) => { const { RichEmbed } = require('discord.js'); const economy = require('discord-eco') - if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); + if (!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.'); @@ -59,6 +59,6 @@ module.exports.run = async (client, message, args) => { name: 'setmoney', description: 'Sets money.', usage: 'setmoney [amount] [user]', - category: '- Owners Only', + category: '- Economy Commands', };
\ No newline at end of file |
