aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2019-10-07 21:38:24 +0530
committerGravatar RohanJnr <[email protected]>2019-10-07 21:38:24 +0530
commitd7510a32f408c7cdca3355051987e7df0806b3b4 (patch)
tree36e879bbb6270f739ed7c309443991492eb311e9
parentCorrected a few typos in the json file and also the following refinements for... (diff)
added function annotations to new command
-rw-r--r--bot/seasons/evergreen/trivia_quiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/trivia_quiz.py b/bot/seasons/evergreen/trivia_quiz.py
index 1c2ba969..5b8eb65e 100644
--- a/bot/seasons/evergreen/trivia_quiz.py
+++ b/bot/seasons/evergreen/trivia_quiz.py
@@ -186,7 +186,7 @@ class TriviaQuiz(commands.Cog):
await asyncio.sleep(2)
@commands.command(name="scoreboard")
- async def overall_scoreboard(self, ctx):
+ async def overall_scoreboard(self, ctx: commands.Context)-> None:
"""View everyone's score for this bot session."""
await self.send_score(ctx.channel, self.player_scores)