From a70f22ebe410511a791632759aba0bb8bb072064 Mon Sep 17 00:00:00 2001 From: Navy Date: Wed, 9 Jun 2021 20:27:30 +0300 Subject: [PATCH] cringe --- structure/moderation/infractions/Unban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/moderation/infractions/Unban.js b/structure/moderation/infractions/Unban.js index 13528b0..92c4fc3 100644 --- a/structure/moderation/infractions/Unban.js +++ b/structure/moderation/infractions/Unban.js @@ -49,7 +49,7 @@ class UnbanInfraction extends Infraction { let ban = null; try { - ban = await this.guild.fetchBan(this.member.id); + ban = await this.guild.fetchBan(this.target.id); } catch(e) {console.log(e)} //eslint-disable-line no-empty console.log(ban) if(!ban) return this._fail('C_UNBAN_NOTBANNED');