diff --git a/extensions/confessions_common.py b/extensions/confessions_common.py index e04ad13..d44612d 100644 --- a/extensions/confessions_common.py +++ b/extensions/confessions_common.py @@ -804,7 +804,7 @@ async def send_confession( if 'Log' in self.bot.cogs and channel == self.targetchannel: logentry = ( - f'{inter.guild.name}/{self.anonid} ({self.author.name}): ' + + f'{self.targetchannel.guild.name}/{self.anonid} ({self.author.name}): ' + self.bot.utilities.truncate(self.content) + (' (attachment)' if self.file else '') ) await self.bot.cogs['Log'].log_misc_str(content=logentry)