aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-08-20 20:08:27 -0400
committerRapptz <[email protected]>2021-08-20 20:08:27 -0400
commit9246bbc8e397d941215fc852b9394d1ba2f7eea2 (patch)
tree3dc1f3d3ab94feee75853cbc4554056dc54734f0
parentCopy docs from Client.close() to Bot.close() (diff)
downloaddiscord.py-9246bbc8e397d941215fc852b9394d1ba2f7eea2.tar.xz
discord.py-9246bbc8e397d941215fc852b9394d1ba2f7eea2.zip
[commands] De-indent after hook call
Close #7412
-rw-r--r--discord/ext/commands/core.py2
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