aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/doc/_cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py
index 30579894c..4cd28e29a 100644
--- a/bot/exts/info/doc/_cog.py
+++ b/bot/exts/info/doc/_cog.py
@@ -334,7 +334,7 @@ class DocCog(commands.Cog):
@commands.group(name='docs', aliases=('doc', 'd'), invoke_without_command=True)
async def docs_group(self, ctx: commands.Context, *, symbol: Optional[str]) -> None:
"""Look up documentation for Python symbols."""
- await ctx.invoke(self.get_command, symbol=symbol)
+ await self.get_command(ctx, symbol=symbol)
@docs_group.command(name='getdoc', aliases=('g',))
async def get_command(self, ctx: commands.Context, *, symbol: Optional[str]) -> None: