diff options
author | 2020-10-13 13:37:16 +0530 | |
---|---|---|
committer | 2020-10-13 13:37:16 +0530 | |
commit | 32fdc750cf35290256fd9a439f168eabb2743e72 (patch) | |
tree | cb97640a76b643daf23d89865c3f3170abd58b62 | |
parent | changed return (diff) |
improved readbility of code by adding line break
-rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 3 |
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: |