debugging

This commit is contained in:
Erik 2022-07-07 10:40:05 +03:00
parent a3e0e8f1cf
commit e496d800a2
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -339,6 +339,7 @@ class Infraction {
async updateMessages() {
this._error(`Cannot update messages for unfetched infractions`);
console.log(this._dmLogMessage, this.dmLogMessageId, this.dmLogMessage);
if (this._dmLogMessage) await this._dmLogMessage.edit({ embeds: [this._embed(true)] });
if (this._modLogMessage) await this._modLogMessage.edit({ embeds: [this._embed()] });
}