diff options
| author | 2020-03-24 23:21:05 +0100 | |
|---|---|---|
| committer | 2020-03-24 23:21:05 +0100 | |
| commit | 55a0daeb4536c3901976f68d3fa315729e876e74 (patch) | |
| tree | a81499c928dae3ee0f8d60d28e0e98fb7865420b /bot/seasons | |
| parent | Deseasonify: use 't-dot' notation for type annotations (diff) | |
Deseasonify: move bookmark icon under `Icons` constants
Diffstat (limited to 'bot/seasons')
| -rw-r--r-- | bot/seasons/evergreen/bookmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py index bd7d5c11..e703e07b 100644 --- a/bot/seasons/evergreen/bookmark.py +++ b/bot/seasons/evergreen/bookmark.py @@ -4,7 +4,7 @@ import random import discord from discord.ext import commands -from bot.constants import Colours, ERROR_REPLIES, Emojis, bookmark_icon_url +from bot.constants import Colours, ERROR_REPLIES, Emojis, Icons log = logging.getLogger(__name__) @@ -43,7 +43,7 @@ class Bookmark(commands.Cog): ) 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) + embed.set_thumbnail(url=Icons.bookmark) try: await ctx.author.send(embed=embed) |