aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/game.py
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-04-02 14:53:45 +0100
committerGravatar Chris <[email protected]>2021-04-02 14:53:45 +0100
commitaa4d16acca8b9ccf8ce395c70dad416506021c59 (patch)
tree54a2d083de3a0527c300a09e548ee0a97305f6bc /bot/exts/evergreen/game.py
parentDon't allow users to run the issue command in DMs, given error feedback. (diff)
parentMerge branch 'main' into Handle-DMChannels (diff)
Merge branch 'Handle-DMChannels' of github.com:ChrisLovering/sir-lancebot into Handle-DMChannels
Diffstat (limited to 'bot/exts/evergreen/game.py')
-rw-r--r--bot/exts/evergreen/game.py3
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