aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/easter/egghead_quiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/easter/egghead_quiz.py')
-rw-r--r--bot/exts/easter/egghead_quiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/easter/egghead_quiz.py b/bot/exts/easter/egghead_quiz.py
index 59c1f6f8..b6b1593d 100644
--- a/bot/exts/easter/egghead_quiz.py
+++ b/bot/exts/easter/egghead_quiz.py
@@ -64,7 +64,7 @@ class EggheadQuiz(commands.Cog):
del self.quiz_messages[msg.id]
- msg = await ctx.channel.fetch_message(msg.id) # Refreshes message
+ msg = await ctx.fetch_message(msg.id) # Refreshes message
total_no = sum([len(await r.users().flatten()) for r in msg.reactions]) - len(valid_emojis) # - bot's reactions