From 0da30fcc3e7d8617efa09df4f05503b934b69fcd Mon Sep 17 00:00:00 2001 From: Known Black Hat <65008967+KnownBlackHat@users.noreply.github.com> Date: Wed, 15 May 2024 06:13:22 -0400 Subject: [PATCH] fix(bug): overwrite `inter.application_command` Signed-off-by: Known Black Hat <65008967+KnownBlackHat@users.noreply.github.com> --- disnake/ext/commands/slash_core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/disnake/ext/commands/slash_core.py b/disnake/ext/commands/slash_core.py index 5c8dac4617..fa5b705b42 100644 --- a/disnake/ext/commands/slash_core.py +++ b/disnake/ext/commands/slash_core.py @@ -743,6 +743,7 @@ async def invoke(self, inter: ApplicationCommandInteraction) -> None: if self._max_concurrency is not None: await self._max_concurrency.release(inter) # type: ignore + inter.application_command = self await self.call_after_hooks(inter)