aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/trivia_quiz.py
diff options
context:
space:
mode:
authorGravatar brad90four <[email protected]>2021-10-24 18:30:15 -0400
committerGravatar GitHub <[email protected]>2021-10-24 18:30:15 -0400
commit4a6fb11e5ae6ebf65195b1efff1702c7ab74f5c5 (patch)
tree77ffbf32852a804589fe8501bb4035bae6a930d4 /bot/exts/fun/trivia_quiz.py
parenttemp: add restructured layout in comments (diff)
parentMerge pull request #926 from python-discord/tools/isort (diff)
Merge branch 'main' into color-677
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 236586b0..712c8a12 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 Colours, NEGATIVE_REPLIES, Roles
+from bot.constants import Client, Colours, NEGATIVE_REPLIES, Roles
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 `{self.bot.command_prefix}quiz stop`"
+ f"do `{Client.prefix}quiz stop`"
)
return