From 1cdaf8cea574d0883455a48c61f07cbc5ea309f4 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 28 Dec 2019 21:06:07 +0100 Subject: [PATCH] Fixed a bug where you could not unblacklist people --- commands/owner/blacklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/owner/blacklist.js b/commands/owner/blacklist.js index fa63c425..279df46a 100644 --- a/commands/owner/blacklist.js +++ b/commands/owner/blacklist.js @@ -27,7 +27,7 @@ class blacklistCommand extends Command { } async exec(message, args) { - const blacklist = await userBlacklist.findOne({where: {userID:message.author.id}}); + const blacklist = await userBlacklist.findOne({where: {userID:args.userID}}); if (!blacklist) { const body = {userID: args.userID};