This commit is contained in:
Erik 2022-05-06 19:11:46 +03:00
parent 01155df6dd
commit a7261c94fe
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -607,7 +607,7 @@ class GuildLogger extends Observer {
//if(newMessage.content.length > 1024) embed.description += '\n' + oldMessage.format('MSGLOG_EDIT_NEW_CUTOFF');
await hook.send({ embeds: [embed] }).catch((err) => {
this.logger.error('Error in message edit:\n' + err.stack, `\n${inspect(embed)}`);
this.logger.error('Error in message edit:\n' + err.stack + `\n${inspect(embed)}`);
});
}