diff options
| author | 2019-10-02 21:36:37 +0530 | |
|---|---|---|
| committer | 2019-10-02 21:36:37 +0530 | |
| commit | b377d1e7edba11e90382c9c68d6836b3d5b4329a (patch) | |
| tree | 2f5aa0869e7a134d94aca6c13e3a9956d60f011a /bot/seasons/evergreen/trivia_quiz.py | |
| parent | removed commented out code (diff) | |
Applied suggestions from code review
Co-Authored-By: scragly <[email protected]>
Diffstat (limited to 'bot/seasons/evergreen/trivia_quiz.py')
| -rw-r--r-- | bot/seasons/evergreen/trivia_quiz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/trivia_quiz.py b/bot/seasons/evergreen/trivia_quiz.py index 4b937035..798523e6 100644 --- a/bot/seasons/evergreen/trivia_quiz.py +++ b/bot/seasons/evergreen/trivia_quiz.py @@ -45,7 +45,7 @@ class TriviaQuiz(commands.Cog): questions = json.load(json_data) return questions - @commands.command(name="quiz", aliases=["trivia", "tquiz"]) + @commands.command(name="quiz", aliases=["trivia"]) async def quiz_game(self, ctx: commands.Context, category: str = "general") -> None: """ Start/Stop a quiz! @@ -73,7 +73,7 @@ class TriviaQuiz(commands.Cog): start_embed.description = "Each game consists of 5 questions.\n" start_embed.description += "**Rules :**\nNo cheating and have fun!" start_embed.set_footer( - text="Points for a question reduces by 25 after 10s or after a hint.Total time is 30s per question" + text="Points for a question reduces by 25 after 10s or after a hint. Total time is 30s per question" ) await ctx.send(embed=start_embed) # send an embed with the rules await asyncio.sleep(1) @@ -216,7 +216,7 @@ class TriviaQuiz(commands.Cog): @staticmethod async def send_answer(channel: discord.TextChannel, question_dict: dict) -> None: - """Send the correct the answer of a question to the game channel.""" + """Send the correct answer of a question to the game channel.""" answer = question_dict["answer"] info = question_dict["info"] embed = discord.Embed(color=discord.Colour.red()) |