mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
Fix app_command_completion triggering on certain errors
This commit is contained in:
@ -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