mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-07 02:21:54 +00:00
parent
7b595fb052
commit
217662ca44
@ -831,7 +831,7 @@ class Command(Generic[GroupT, P, T]):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
# Check if we have a bound error handler
|
# 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 True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user