diff options
| author | 2021-03-29 12:29:25 +0100 | |
|---|---|---|
| committer | 2021-03-29 12:29:25 +0100 | |
| commit | 6e71554c1604cb372415a505e4db7ca0f80f30fd (patch) | |
| tree | 749f32e94bfff62c8e525cf0dbe6247475706ae1 /bot/exts | |
| parent | Fix spelling and grammar errors in bookmark command (diff) | |
Split out an embed add field call for readability
Co-authored-by: Shivansh-007 <[email protected]>
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/evergreen/bookmark.py | 5 |
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) |