mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 02:39:01 +00:00
parent
fa5a2188bb
commit
9246bbc8e3
@ -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…
x
Reference in New Issue
Block a user