diff --git a/discord/__main__.py b/discord/__main__.py index 527b72bb2..7be6ea815 100644 --- a/discord/__main__.py +++ b/discord/__main__.py @@ -157,6 +157,10 @@ _cog_extras = ''' async def cog_command_error(self, ctx, error): # error handling to every command in here pass + + async def cog_app_command_error(self, interaction, error): + # error handling to every application command in here + pass async def cog_before_invoke(self, ctx): # called before a command is called here