diff options
| author | 2021-03-13 17:43:55 +0200 | |
|---|---|---|
| committer | 2021-03-13 17:43:55 +0200 | |
| commit | 0f69e00aa55ca7294e71e19ab41b57bef7a9f977 (patch) | |
| tree | 7deaf95949693aafc7592dfe7933425ebdc8f6dc /bot/exts/evergreen/game.py | |
| parent | Merge pull request #619 from JagTheFriend/master (diff) | |
| parent | make invoke_help_command only take ctx (diff) | |
Merge pull request #625 from ToxicKidz/no-ctx-send-help
change ctx.send_help to ctx.invoke(help_command)
Diffstat (limited to 'bot/exts/evergreen/game.py')
| -rw-r--r-- | bot/exts/evergreen/game.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/game.py b/bot/exts/evergreen/game.py index d37be0e2..068d3f68 100644 --- a/bot/exts/evergreen/game.py +++ b/bot/exts/evergreen/game.py @@ -15,6 +15,7 @@ from discord.ext.commands import Cog, Context, group from bot.bot import Bot from bot.constants import STAFF_ROLES, Tokens from bot.utils.decorators import with_role +from bot.utils.extensions import invoke_help_command from bot.utils.pagination import ImagePaginator, LinePaginator # Base URL of IGDB API @@ -234,7 +235,7 @@ class Games(Cog): """ # When user didn't specified genre, send help message if genre is None: - await ctx.send_help("games") + await invoke_help_command(ctx) return # Capitalize genre for check |