forked from Galactic/galactic-bot
logging
This commit is contained in:
parent
01155df6dd
commit
a7261c94fe
@ -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)}`);
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user