diff --git a/commands/owner/blacklist.js b/commands/owner/blacklist.js index fa63c42..279df46 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};