aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/game.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-05 12:10:18 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-05 12:10:18 -0400
commit6ae760663b7055f9b74089591b4f46ac75c6f8e5 (patch)
treefe0856fa9181efda3a75a565e9e72953f32543e9 /bot/exts/evergreen/game.py
parentchore: Replace the remaining double quotes with double quotes (diff)
chore: Don't have defaults for typing.Optional[...] in commands
Diffstat (limited to 'bot/exts/evergreen/game.py')
-rw-r--r--bot/exts/evergreen/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/game.py b/bot/exts/evergreen/game.py
index f3d4e9a2..4da33259 100644
--- a/bot/exts/evergreen/game.py
+++ b/bot/exts/evergreen/game.py
@@ -225,7 +225,7 @@ class Games(Cog):
self.genres[genre_name] = genre
@group(name="games", aliases=["game"], invoke_without_command=True)
- async def games(self, ctx: Context, amount: Optional[int] = 5, *, genre: Optional[str] = None) -> None:
+ async def games(self, ctx: Context, amount: Optional[int] = 5, *, genre: Optional[str]) -> None:
"""
Get random game(s) by genre from IGDB. Use .games genres command to get all available genres.