aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/trivia_quiz.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-01 14:20:31 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:46 +0100
commit64e1ac315daf4d17da02790859baebbbbb7bdfc4 (patch)
tree15c3e2973685408b11272a34af1bc2de58580e28 /bot/exts/fun/trivia_quiz.py
parentupdate Categories (diff)
update Client constants
This also renames the Client class to Bot, to align better with Python.
Diffstat (limited to 'bot/exts/fun/trivia_quiz.py')
-rw-r--r--bot/exts/fun/trivia_quiz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/trivia_quiz.py b/bot/exts/fun/trivia_quiz.py
index 31652374..546b796b 100644
--- a/bot/exts/fun/trivia_quiz.py
+++ b/bot/exts/fun/trivia_quiz.py
@@ -16,7 +16,7 @@ from discord.ext import commands, tasks
from rapidfuzz import fuzz
from bot.bot import Bot
-from bot.constants import Client, Colours, MODERATION_ROLES, NEGATIVE_REPLIES
+from bot.constants import Bot, Colours, MODERATION_ROLES, NEGATIVE_REPLIES
logger = logging.getLogger(__name__)
@@ -332,7 +332,7 @@ class TriviaQuiz(commands.Cog):
if self.game_status[ctx.channel.id]:
await ctx.send(
"Game is already running... "
- f"do `{Client.prefix}quiz stop`"
+ f"do `{Bot.prefix}quiz stop`"
)
return