Fixed a bug where you could not unblacklist people

merge-requests/4/head
loicbersier 5 years ago
parent e3586c7395
commit 1cdaf8cea5

@ -27,7 +27,7 @@ class blacklistCommand extends Command {
} }
async exec(message, args) { 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) { if (!blacklist) {
const body = {userID: args.userID}; const body = {userID: args.userID};

Loading…
Cancel
Save