From 9246bbc8e397d941215fc852b9394d1ba2f7eea2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 20 Aug 2021 20:08:27 -0400 Subject: [PATCH] [commands] De-indent after hook call Close #7412 --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 2d58f95ae..800b4b022 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