diff options
| -rw-r--r-- | bot/seasons/evergreen/bookmark.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py index dfbca5bd..2ace4723 100644 --- a/bot/seasons/evergreen/bookmark.py +++ b/bot/seasons/evergreen/bookmark.py @@ -21,17 +21,19 @@ class Bookmark(commands.Cog): """Send you a link to the provided message in DM."""
log.info(f"{ctx.author} bookmarked {target_message.jump_url} with hints {title}.")
- embed = discord.Embed(title="Your bookmark", colour=Colours.soft_green)
-
if not title:
title = "No hint provided."
+ embed = discord.Embed(
+ title=title,
+ colour=Colours.soft_green,
+ description=f"{target_message.content} \n\n[Give it a visit.]({target_message.jump_url})"
+ )
embed.set_author(name=target_message.author)
- embed.add_field(name='Content', value=target_message.content, inline=False)
- embed.add_field(name='Hints', value=title, inline=False)
- embed.add_field(name='Link', value=target_message.jump_url, inline=False)
embed.set_author(name=target_message.author, icon_url=target_message.author.avatar_url)
- # embed.set_image()
+ embed.set_thumbnail(url="https://img.icons8.com/color/48/FF3333/"
+ "bookmark-ribbon.png")
+ embed.set_footer(text=f"{ctx.author}")
try:
await ctx.author.send(embed=embed)
except discord.Forbidden:
@@ -42,7 +44,7 @@ class Bookmark(commands.Cog): )
await ctx.send(embed=embed_error)
return
- await ctx.send("Bookmark sent to your DMs.")
+ await ctx.send("Bookmark sent to your DM.")
def setup(bot: commands.Bot) -> None:
|