diff options
author | 2021-05-09 17:53:01 -0300 | |
---|---|---|
committer | 2021-05-09 17:53:01 -0300 | |
commit | 17aee2141770085bc66c04d948249de954359f6a (patch) | |
tree | b98bac5a28b882ae2192b729040570f52507c3fb /bot | |
parent | use walrus so dict lookup is only performed once (diff) |
changed error embed color to `bot.constants.Colours.soft_red`
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index 88c44971..4496082e 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -10,6 +10,7 @@ import discord from discord.ext import commands from fuzzywuzzy import fuzz +from bot.constants import Colours from bot.constants import NEGATIVE_REPLIES from bot.constants import Roles @@ -443,7 +444,7 @@ class TriviaQuiz(commands.Cog): def make_error_embed(desc: str) -> discord.Embed: """Generate an error embed with the given description.""" error_embed = discord.Embed( - colour=discord.Colour.red(), + colour=Colours.soft_red, title=random.choice(NEGATIVE_REPLIES), description=desc, ) |