mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
Change ValueError on max commands reached to a more specific exception
This commit is contained in:
@ -575,6 +575,9 @@ Exceptions
|
||||
.. autoexception:: discord.app_commands.CommandOnCooldown
|
||||
:members:
|
||||
|
||||
.. autoexception:: discord.app_commands.MaxCommandsReached
|
||||
:members:
|
||||
|
||||
.. autoexception:: discord.app_commands.CommandAlreadyRegistered
|
||||
:members:
|
||||
|
||||
@ -600,6 +603,7 @@ Exception Hierarchy
|
||||
- :exc:`~discord.app_commands.MissingPermissions`
|
||||
- :exc:`~discord.app_commands.BotMissingPermissions`
|
||||
- :exc:`~discord.app_commands.CommandOnCooldown`
|
||||
- :exc:`~discord.app_commands.MaxCommandsReached`
|
||||
- :exc:`~discord.app_commands.CommandAlreadyRegistered`
|
||||
- :exc:`~discord.app_commands.CommandSignatureMismatch`
|
||||
- :exc:`~discord.app_commands.CommandNotFound`
|
||||
|
Reference in New Issue
Block a user