forked from Supositware/Haha-Yes
Fixed a bug where you could not unblacklist people
This commit is contained in:
parent
e3586c7395
commit
1cdaf8cea5
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue