aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Karlis Suvi <[email protected]>2021-10-31 18:22:23 +0200
committerGravatar GitHub <[email protected]>2021-10-31 18:22:23 +0200
commitae8f17db56ca0665eafd727b25e804662b1ee748 (patch)
treee7a86b30d6fa1312894e38385c7d0412d3745b9b
parentMerge pull request #1793 from python-discord/cleanrework (diff)
parentGH-1873 Fix BigBrother embeds (diff)
Merge pull request #1923 from Lainika/GH-1873_Fix_embeds
-rw-r--r--bot/exts/moderation/watchchannels/_watchchannel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/moderation/watchchannels/_watchchannel.py b/bot/exts/moderation/watchchannels/_watchchannel.py
index 8f97130ca..34d445912 100644
--- a/bot/exts/moderation/watchchannels/_watchchannel.py
+++ b/bot/exts/moderation/watchchannels/_watchchannel.py
@@ -298,8 +298,7 @@ class WatchChannel(metaclass=CogABCMeta):
message_jump = f"in [#{msg.channel.name}]({msg.jump_url})"
footer = f"Added {time_delta} by {actor} | Reason: {reason}"
- embed = Embed(description=f"{msg.author.mention} {message_jump}")
- embed.set_footer(text=textwrap.shorten(footer, width=256, placeholder="..."))
+ embed = Embed(description=f"{msg.author.mention} {message_jump}\n\n{footer}")
await self.webhook_send(embed=embed, username=msg.author.display_name, avatar_url=msg.author.display_avatar.url)