fix(logger): don't escape mentions n shit

This commit is contained in:
Seaswimmer 2024-05-24 03:08:39 -04:00
parent 7520ee783b
commit ce502d5725
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -45,7 +45,7 @@ class Logger(commands.Cog):
if channel:
embed = discord.Embed(color=discord.Color.from_str(value="#ff470f"), timestamp=datetime.now(tz=UTC))
embed.set_author(name=f"{author.display_name} - Deleted Message", icon_url=author.display_avatar.url)
embed.description = bold(text=f"Message sent by {author.mention} deleted in {payload.cached_message.channel.mention} \n") + content
embed.description = bold(text=f"Message sent by {author.mention} deleted in {payload.cached_message.channel.mention}\n", escape_formatting=False) + content
embed.set_footer(text=f"Author: {author.id} | Message ID: {payload.message_id}")
await channel.send(embed=embed)