diff options
| author | 2020-12-12 04:25:26 +0100 | |
|---|---|---|
| committer | 2020-12-15 05:02:53 +0100 | |
| commit | 73502611d1420a62f1e8c0a6ca51c02dc2c8f896 (patch) | |
| tree | 0e801703fb9770c354ad92196bde8f7afb982730 | |
| parent | Make reschedule delays a module constant (diff) | |
Call command method directly
Co-authored-by: MarkKoz <[email protected]>
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 2 |
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: |