aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 18:57:55 +0300
committerGravatar ks129 <[email protected]>2020-04-03 18:57:55 +0300
commit56edfa39c0f03ae11647454fcb06415dc8cfcb20 (patch)
tree3390ad4e06eeabb47e87890d9ce7a73b701b79cd
parent(Sync Cog Tests, discord.py 1.3.x Migrations): Removed `.callback` from comma... (diff)
(Docs, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct calling command.
-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 204cffb37..ddff9d14c 100644
--- a/bot/cogs/doc.py
+++ b/bot/cogs/doc.py
@@ -345,7 +345,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, symbol)
+ 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: