Skip to content

Commit

Permalink
Tweak logging to try and catch incorrect anon-id issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Oct 25, 2024
1 parent 1237212 commit a9fd707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/confessions_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ async def send_confession(

if 'Log' in self.bot.cogs and channel == self.targetchannel:
logentry = (
f'{inter.guild.name}/{self.anonid}: {self.bot.utilities.truncate(self.content)}' +
(' (attachment)' if self.file else '')
f'{inter.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)

Expand Down

0 comments on commit a9fd707

Please sign in to comment.