diff options
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/seasons/evergreen/bookmark.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py index 5b399739..56c436d6 100644 --- a/bot/seasons/evergreen/bookmark.py +++ b/bot/seasons/evergreen/bookmark.py @@ -26,16 +26,12 @@ class Bookmark(commands.Cog): """Send the author a link to `target_message` via DMs."""
log.info(f"{ctx.author} bookmarked {target_message.jump_url} with title '{title}'")
content = target_message.content
- if len(content) > 250:
- content = content[:250]+'......'
embed = discord.Embed(
title=title,
colour=Colours.soft_green,
- description=(
- f"{content}\n\n"
- f"[Visit original message]({target_message.jump_url})"
- )
+ description=content
)
+ 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=bookmark_icon_url)
|