aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/evergreen/game.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/game.py b/bot/seasons/evergreen/game.py
index b2114da8..7a7dc02f 100644
--- a/bot/seasons/evergreen/game.py
+++ b/bot/seasons/evergreen/game.py
@@ -189,8 +189,7 @@ class Games(Cog):
# Offset must be random, due otherwise we will get always same result (offset show in which position should
# API start returning result)
try:
- games = await self.get_games_list(amount, self.genres[genre],
- offset=random.randint(0, 150))
+ games = await self.get_games_list(amount, self.genres[genre], offset=random.randint(0, 150))
except KeyError:
possibilities = "`, `".join(difflib.get_close_matches(genre, self.genres))
await ctx.send(f"Invalid genre `{genre}`. {f'Maybe you meant `{possibilities}`?' if possibilities else ''}")