aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ayplo <[email protected]>2019-10-01 16:30:50 +0100
committerGravatar GitHub <[email protected]>2019-10-01 16:30:50 +0100
commit9fff510e0ba493760a14728f2c71fb338b3d8460 (patch)
tree553e382d03817fbbcc404e6de88c1d9669818c4b
parentForward arguments to get (diff)
Update bot/cogs/doc.py
Co-Authored-By: S. Co1 <[email protected]>
-rw-r--r--bot/cogs/doc.py2
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: