mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-19 04:24:41 +00:00
Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
This commit is contained in:
@@ -4230,8 +4230,6 @@ The following exceptions are thrown by the library.
|
||||
|
||||
.. autoexception:: InvalidData
|
||||
|
||||
.. autoexception:: InvalidArgument
|
||||
|
||||
.. autoexception:: GatewayNotFound
|
||||
|
||||
.. autoexception:: ConnectionClosed
|
||||
@@ -4253,7 +4251,6 @@ Exception Hierarchy
|
||||
- :exc:`DiscordException`
|
||||
- :exc:`ClientException`
|
||||
- :exc:`InvalidData`
|
||||
- :exc:`InvalidArgument`
|
||||
- :exc:`LoginFailure`
|
||||
- :exc:`ConnectionClosed`
|
||||
- :exc:`PrivilegedIntentsRequired`
|
||||
|
Reference in New Issue
Block a user