forked from Galactic/galactic-bot
cringe
This commit is contained in:
parent
45740a9bad
commit
a70f22ebe4
@ -49,7 +49,7 @@ class UnbanInfraction extends Infraction {
|
|||||||
|
|
||||||
let ban = null;
|
let ban = null;
|
||||||
try {
|
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
|
} catch(e) {console.log(e)} //eslint-disable-line no-empty
|
||||||
console.log(ban)
|
console.log(ban)
|
||||||
if(!ban) return this._fail('C_UNBAN_NOTBANNED');
|
if(!ban) return this._fail('C_UNBAN_NOTBANNED');
|
||||||
|
Loading…
Reference in New Issue
Block a user