Browse Source

[commands] De-indent after hook call

Close #7412
pull/7435/head
Rapptz 4 years ago
parent
commit
9246bbc8e3
  1. 2
      discord/ext/commands/core.py

2
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

Loading…
Cancel
Save