From a7261c94fedbce6cb43ac6c5b0c01696dee595dc Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 6 May 2022 19:11:46 +0300 Subject: [PATCH] logging --- src/structure/components/observers/GuildLogging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/observers/GuildLogging.js b/src/structure/components/observers/GuildLogging.js index f488000..4f7a2e8 100644 --- a/src/structure/components/observers/GuildLogging.js +++ b/src/structure/components/observers/GuildLogging.js @@ -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)}`); }); }