diff options
author | 2021-10-31 16:12:28 +0100 | |
---|---|---|
committer | 2021-10-31 16:12:28 +0100 | |
commit | c4837978399ce42b7073e17bae7e30b7a43d088d (patch) | |
tree | e7a86b30d6fa1312894e38385c7d0412d3745b9b | |
parent | Merge pull request #1793 from python-discord/cleanrework (diff) |
GH-1873 Fix BigBrother embeds
Move text from footer to description.
-rw-r--r-- | bot/exts/moderation/watchchannels/_watchchannel.py | 3 |
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) |