aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/evergreen/bookmark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py
index 9962186f..5b399739 100644
--- a/bot/seasons/evergreen/bookmark.py
+++ b/bot/seasons/evergreen/bookmark.py
@@ -25,11 +25,14 @@ class Bookmark(commands.Cog):
) -> None:
"""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"{target_message.content}\n\n"
+ f"{content}\n\n"
f"[Visit original message]({target_message.jump_url})"
)
)