diff options
| author | 2020-04-02 10:27:29 +0300 | |
|---|---|---|
| committer | 2020-04-02 10:27:29 +0300 | |
| commit | 12cbfe77c9529631ae9038649845e93e41d8d021 (patch) | |
| tree | deb30dab90393b24653e95d8bb5711e8d2f6a4f4 | |
| parent | Merge pull request #832 from python-discord/fix-token-strip-log (diff) | |
(Aliases, discord.py 1.3.x Migration): Replaced `ctx.invoke` with direct awaiting command.
| -rw-r--r-- | bot/cogs/alias.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py index 55c7efe65..d7e49b390 100644 --- a/bot/cogs/alias.py +++ b/bot/cogs/alias.py @@ -32,7 +32,7 @@ class Alias (Cog): f'{str(ctx.author)} tried to run the command "{cmd_name}" but lacks permission.' ) - await ctx.invoke(cmd, *args, **kwargs) + await cmd(ctx, *args, **kwargs) @command(name='aliases') async def aliases_command(self, ctx: Context) -> None: |