aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-03-29 12:29:25 +0100
committerGravatar GitHub <[email protected]>2021-03-29 12:29:25 +0100
commit6e71554c1604cb372415a505e4db7ca0f80f30fd (patch)
tree749f32e94bfff62c8e525cf0dbe6247475706ae1
parentFix spelling and grammar errors in bookmark command (diff)
Split out an embed add field call for readability
Co-authored-by: Shivansh-007 <[email protected]>
-rw-r--r--bot/exts/evergreen/bookmark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py
index 9246825a..c4c238c3 100644
--- a/bot/exts/evergreen/bookmark.py
+++ b/bot/exts/evergreen/bookmark.py
@@ -28,7 +28,10 @@ class Bookmark(commands.Cog):
description=target_message.content,
colour=Colours.soft_green
)
- embed.add_field(name="Wanna give it a visit?", value=f"[Visit original message]({target_message.jump_url})")
+ embed.add_field(
+ name="Wanna give it a visit?",
+ value=f"[Visit original message]({target_message.jump_url})"
+ )
embed.set_author(name=target_message.author, icon_url=target_message.author.avatar_url)
embed.set_thumbnail(url=Icons.bookmark)