diff options
| author | 2019-09-30 22:42:24 +0100 | |
|---|---|---|
| committer | 2019-09-30 22:42:24 +0100 | |
| commit | 84c87597ba585ba2612b7174cd5180c6403fb58b (patch) | |
| tree | a8b5f0a91b223ea1854bd87e48ebfc8151824bba | |
| parent | Adjust development workflow inline with new `site` changes. (#464) (diff) | |
Forward arguments to get
| -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 e5c51748f..4fadcb8db 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 ctx.invoke(self.get_command) + await self.get_command(ctx, symbol) @docs_group.command(name='get', aliases=('g',)) async def get_command(self, ctx: commands.Context, symbol: commands.clean_content = None) -> None: |