forked from Galactic/galactic-bot
catch error
This commit is contained in:
parent
b67274130e
commit
2f3a5a7a86
@ -439,7 +439,7 @@ class Infraction {
|
||||
this.resolved = true;
|
||||
await this.updateMessages();
|
||||
await this.save();
|
||||
if(notify && this.target) await this.target.send(`Your infraction **#${this.case}** on **${this.guild.name}** was resolved.`);
|
||||
if(notify && this.target) await this.target.send(`Your infraction **#${this.case}** on **${this.guild.name}** was resolved.`).catch(() => null);
|
||||
}
|
||||
|
||||
async unresolve(staff, reason) {
|
||||
|
Loading…
Reference in New Issue
Block a user