aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/space.py
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/space.py
parentMerge pull request #619 from JagTheFriend/master (diff)
change ctx.send_help to ctx.invoke(help_command)
;
Diffstat (limited to 'bot/exts/evergreen/space.py')
-rw-r--r--bot/exts/evergreen/space.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/space.py b/bot/exts/evergreen/space.py
index bc8e3118..e388e13f 100644
--- a/bot/exts/evergreen/space.py
+++ b/bot/exts/evergreen/space.py
@@ -63,7 +63,8 @@ class Space(Cog):
@group(name="space", invoke_without_command=True)
async def space(self, ctx: Context) -> None:
"""Head command that contains commands about space."""
- await ctx.send_help("space")
+ help_command = self.bot.get_command("help")
+ await ctx.invoke(help_command, ctx.command.name)
@space.command(name="apod")
async def apod(self, ctx: Context, date: Optional[str] = None) -> None: