From 4132f9b201ba5a697714404e5d5aa4c6d176d090 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 21 Apr 2021 22:18:13 -0600 Subject: [PATCH] ok really now --- commands/dev/reload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/dev/reload.js b/commands/dev/reload.js index 90ed9db..7b58240 100644 --- a/commands/dev/reload.js +++ b/commands/dev/reload.js @@ -22,7 +22,7 @@ module.exports = { async execute(message, msg, args, cmd, prefix, mention, client) { if (!args.length) { const tu = await UserData.findOne({uid: message.author.id}); - if (!tu && !tu.developer && message.author.id !== "480535078150340609") {return message.channel.send("You must be a Luno developer in order to do this!");} + if ((!tu || !tu.developer) && message.author.id !== "480535078150340609") {return message.channel.send("You must be a Luno developer in order to do this!");} let commands = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); let dirSet = new Map();