diff options
author | 2019-12-10 23:28:35 +0100 | |
---|---|---|
committer | 2019-12-10 23:28:35 +0100 | |
commit | a580dd550bcf787934ef7901f03f670e2df842cf (patch) | |
tree | 4db4b3482427fa93d10c3f2509225b096043a12d | |
parent | Add bookmark icon url to constants (diff) |
Use bookmark icon url from constants
-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 ccff149c..9962186f 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
+from bot.constants import Colours, ERROR_REPLIES, Emojis, bookmark_icon_url
log = logging.getLogger(__name__)
@@ -34,7 +34,7 @@ class Bookmark(commands.Cog): )
)
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_thumbnail(url=bookmark_icon_url)
try:
await ctx.author.send(embed=embed)
|