diff options
| author | 2019-12-09 00:30:27 +0530 | |
|---|---|---|
| committer | 2019-12-09 00:30:27 +0530 | |
| commit | 4627d0f066efbd69e5ad1c752775796eb36de3d1 (patch) | |
| tree | 1af3aa3ab72cc323e4b45353eb3135c358802d6c /bot | |
| parent | Improved DM message (diff) | |
Removed footer , Unnecessary line. Edited a string
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/seasons/evergreen/bookmark.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py index 2ace4723..8d541ab6 100644 --- a/bot/seasons/evergreen/bookmark.py +++ b/bot/seasons/evergreen/bookmark.py @@ -22,18 +22,16 @@ class Bookmark(commands.Cog): log.info(f"{ctx.author} bookmarked {target_message.jump_url} with hints {title}.")
if not title:
- title = "No hint provided."
+ title = "No Title 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.set_author(name=target_message.author, icon_url=target_message.author.avatar_url)
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:
|