Fix the blacklist search
This commit is contained in:
parent
de56815c3c
commit
15983a8cdc
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class serverBlacklistCommand extends Command {
|
|||
}
|
||||
|
||||
async exec(message, args) {
|
||||
const blacklist = await guildBlacklist.findOne({where: {guildID:message.author.id}});
|
||||
const blacklist = await guildBlacklist.findOne({where: {guildID:args.guildID}});
|
||||
|
||||
if (!blacklist) {
|
||||
const body = {guildID: args.guildID};
|
||||
|
|
Loading…
Reference in a new issue