mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-13 18:33:26 +00:00
Fix app_command_completion triggering on certain errors
This commit is contained in:
1 parent
7be0779b65
commit
bd19ad05e7
3 files changed
+11
-1
No files matched your search
@@ -462,6 +462,7 @@ class HybridAppCommand(discord.app_commands.Command[CogT, P, T]):
|
||||
if not ctx.command_failed:
|
||||
bot.dispatch('command_completion', ctx)
|
||||
|
||||
interaction.command_failed = ctx.command_failed
|
||||
return value
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user