diff options
author | 2019-10-01 16:30:50 +0100 | |
---|---|---|
committer | 2019-10-01 16:30:50 +0100 | |
commit | 9fff510e0ba493760a14728f2c71fb338b3d8460 (patch) | |
tree | 553e382d03817fbbcc404e6de88c1d9669818c4b | |
parent | Forward arguments to get (diff) |
Update bot/cogs/doc.py
Co-Authored-By: S. Co1 <[email protected]>
-rw-r--r-- | bot/cogs/doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 4fadcb8db..40b31f90c 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -261,7 +261,7 @@ class Doc(commands.Cog): @commands.group(name='docs', aliases=('doc', 'd'), invoke_without_command=True) async def docs_group(self, ctx: commands.Context, symbol: commands.clean_content = None) -> None: """Lookup documentation for Python symbols.""" - await self.get_command(ctx, symbol) + await ctx.invoke(self.get_command, symbol) @docs_group.command(name='get', aliases=('g',)) async def get_command(self, ctx: commands.Context, symbol: commands.clean_content = None) -> None: |