aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/snakes
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-03-11 12:24:49 -0500
committerGravatar ToxicKidz <[email protected]>2021-03-11 12:24:49 -0500
commit1cd9c7a4f74834d799bfc706f5f28cb4147fa0ff (patch)
tree4b54cc75f5ae9059cfd546c3eeb3e75d8cd36def /bot/exts/evergreen/snakes
parentMerge pull request #619 from JagTheFriend/master (diff)
change ctx.send_help to ctx.invoke(help_command)
;
Diffstat (limited to 'bot/exts/evergreen/snakes')
-rw-r--r--bot/exts/evergreen/snakes/_snakes_cog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/snakes/_snakes_cog.py b/bot/exts/evergreen/snakes/_snakes_cog.py
index d5e4f206..819a98b2 100644
--- a/bot/exts/evergreen/snakes/_snakes_cog.py
+++ b/bot/exts/evergreen/snakes/_snakes_cog.py
@@ -440,7 +440,8 @@ class Snakes(Cog):
@group(name='snakes', aliases=('snake',), invoke_without_command=True)
async def snakes_group(self, ctx: Context) -> None:
"""Commands from our first code jam."""
- await ctx.send_help(ctx.command)
+ help_command = self.bot.get_command("help")
+ await ctx.invoke(help_command, ctx.command.name)
@bot_has_permissions(manage_messages=True)
@snakes_group.command(name='antidote')