aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anubhav1603 <[email protected]>2020-10-13 13:37:16 +0530
committerGravatar Anubhav1603 <[email protected]>2020-10-13 13:37:16 +0530
commit32fdc750cf35290256fd9a439f168eabb2743e72 (patch)
treecb97640a76b643daf23d89865c3f3170abd58b62
parentchanged return (diff)
improved readbility of code by adding line break
-rw-r--r--bot/exts/evergreen/trivia_quiz.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py
index 4dbb1c6a..fe692c2a 100644
--- a/bot/exts/evergreen/trivia_quiz.py
+++ b/bot/exts/evergreen/trivia_quiz.py
@@ -122,7 +122,8 @@ class TriviaQuiz(commands.Cog):
# A function to check whether user input is the correct answer(close to the right answer)
def check(m: discord.Message) -> bool:
return (
- m.channel == ctx.channel and fuzz.ratio(answer.lower(), m.content.lower()) > 85
+ m.channel == ctx.channel
+ and fuzz.ratio(answer.lower(), m.content.lower()) > 85
)
try: