mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Change ValueError on max commands reached to a more specific exception
This commit is contained in:
1 parent
c11363f037
commit
34b2ff40b6
3 files changed
+46
-7
No files matched your search
@@ -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