fix(logger): added a missing newline
This commit is contained in:
parent
0f82ddcf7b
commit
0f1a9fb66c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Logger(commands.Cog):
|
||||||
if channel:
|
if channel:
|
||||||
embed = discord.Embed(color=discord.Color.from_str(value="#ff470f"), timestamp=datetime.now(tz=UTC))
|
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.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}") + content
|
embed.description = bold(text=f"Message sent by {author.mention} deleted in {payload.cached_message.channel.mention}\n") + content
|
||||||
embed.set_footer(text=f"Author: {author.id} | Message ID: {payload.message_id}")
|
embed.set_footer(text=f"Author: {author.id} | Message ID: {payload.message_id}")
|
||||||
|
|
||||||
await channel.send(embed=embed)
|
await channel.send(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue