aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/constants.py6
-rw-r--r--bot/seasons/evergreen/bookmark.py4
2 files changed, 8 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index ce650b80..eca4f67b 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -4,6 +4,7 @@ from typing import NamedTuple
from datetime import datetime
__all__ = (
+ "bookmark_icon_url",
"AdventOfCode", "Channels", "Client", "Colours", "Emojis", "Hacktoberfest", "Roles", "Tokens",
"WHITELISTED_CHANNELS", "STAFF_ROLES", "MODERATION_ROLES",
"POSITIVE_REPLIES", "NEGATIVE_REPLIES", "ERROR_REPLIES",
@@ -11,6 +12,11 @@ __all__ = (
log = logging.getLogger(__name__)
+bookmark_icon_url = (
+ "https://images-ext-2.discordapp.net/external/zl4oDwcmxUILY7sD9ZWE2fU5R7n6QcxEmPYSE5eddbg/"
+ "%3Fv%3D1/https/cdn.discordapp.com/emojis/654080405988966419.png?width=20&height=20"
+)
+
class AdventOfCode:
leaderboard_cache_age_threshold_seconds = 3600
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)