aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks123 <[email protected]>2020-03-04 13:49:55 +0200
committerGravatar ks123 <[email protected]>2020-03-04 13:49:55 +0200
commit75c3024209f62c327f002cefed9b148e31b98479 (patch)
tree8788b79d3133abe5ea65839764bfa7fd74f0f40e
parent(Games Cog): Stop refreshing genres task when Cog unload (diff)
(Games Cog): Remove too much empty lines in .games search command, simplify lines.
-rw-r--r--bot/seasons/evergreen/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/game.py b/bot/seasons/evergreen/game.py
index 97df2bdb..7774484e 100644
--- a/bot/seasons/evergreen/game.py
+++ b/bot/seasons/evergreen/game.py
@@ -243,7 +243,7 @@ class Games(Cog):
"""Find games by name."""
lines = await self.search_games(search_term)
- await LinePaginator.paginate((line for line in lines), ctx, Embed(title=f"Game Search Results: {search_term}"))
+ await LinePaginator.paginate(lines, ctx, Embed(title=f"Game Search Results: {search_term}"), empty=False)
@games.command(name="company", aliases=["companies"])
async def company(self, ctx: Context, amount: int = 5) -> None: