mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
parent
7b595fb052
commit
217662ca44
@ -831,7 +831,7 @@ class Command(Generic[GroupT, P, T]):
|
||||
return True
|
||||
|
||||
# Check if we have a bound error handler
|
||||
if hasattr(self.binding, '__discord_app_commands_error_handler__'):
|
||||
if getattr(self.binding, '__discord_app_commands_error_handler__', None) is not None:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user