diff options
| author | Rapptz <[email protected]> | 2021-08-20 20:08:27 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-08-20 20:08:27 -0400 |
| commit | 9246bbc8e397d941215fc852b9394d1ba2f7eea2 (patch) | |
| tree | 3dc1f3d3ab94feee75853cbc4554056dc54734f0 | |
| parent | Copy docs from Client.close() to Bot.close() (diff) | |
| download | discord.py-9246bbc8e397d941215fc852b9394d1ba2f7eea2.tar.xz discord.py-9246bbc8e397d941215fc852b9394d1ba2f7eea2.zip | |
[commands] De-indent after hook call
Close #7412
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 2d58f95a..800b4b02 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -777,7 +777,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]): if self._after_invoke is not None: instance = getattr(self._after_invoke, '__self__', cog) if instance: - await self._after_invoke(instance, ctx) # type: ignore + await self._after_invoke(instance, ctx) # type: ignore else: await self._after_invoke(ctx) # type: ignore |