aboutsummaryrefslogtreecommitdiff
path: root/commands/setmoney.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-03-29 22:05:37 -0400
committerAlee <alee14498@gmail.com>2018-03-29 22:05:37 -0400
commit6c4adaaefa890038aec7a4d6cfd30fba98fc0693 (patch)
treef85bdd118dc0adae79d318889e9b4a06b94989fa /commands/setmoney.js
parent37832fa349344b1a2cb512bff22ebc4e5ca0ced9 (diff)
downloadAleeBot-6c4adaaefa890038aec7a4d6cfd30fba98fc0693.tar.gz
AleeBot-6c4adaaefa890038aec7a4d6cfd30fba98fc0693.tar.bz2
AleeBot-6c4adaaefa890038aec7a4d6cfd30fba98fc0693.zip
I hope this works
Diffstat (limited to 'commands/setmoney.js')
-rw-r--r--commands/setmoney.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/setmoney.js b/commands/setmoney.js
index 00060d1..f609552 100644
--- a/commands/setmoney.js
+++ b/commands/setmoney.js
@@ -26,6 +26,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 (!args[0]) {
message.reply('You need a amount.');