Skip to content

Commit

Permalink
Trivia fixed with reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
soham4abc committed Jun 25, 2021
1 parent 4600a29 commit 4dd475e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions commands/api_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ async def ptrivia(discord, message):
+ output
+ "\nType `correctanswer` for the correct answer.\
\nType your answer (not case-sensitive).\
You\'ve 60 seconds.",
You've 60 seconds.",
color=discord.Color.blue(),
)
msg = await message.channel.send(embed=embed)
Expand All @@ -556,7 +556,9 @@ def check(m):
await bot_message.add_reaction("\U0001f44d")
await bot_message.reply(correct_answer)
elif bot_message.content.lower() in all_answers:
await bot_message.reply("Wrong answer!\nCorrect answer: "+correct_answer)
await bot_message.reply(
"Wrong answer!\nCorrect answer: " + correct_answer
)
await bot_message.add_reaction("\U0001f44E")

except asyncio.TimeoutError:
Expand Down

0 comments on commit 4dd475e

Please sign in to comment.