Skip to content

Commit

Permalink
Fix direct message support
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Nov 18, 2024
1 parent a262ba5 commit a89fe1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/confessions_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a89fe1b

Please sign in to comment.