mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
Add a special exception for required privileged intents
This commit is contained in:
@@ -2937,6 +2937,8 @@ The following exceptions are thrown by the library.
|
||||
|
||||
.. autoexception:: ConnectionClosed
|
||||
|
||||
.. autoexception:: PrivilegedIntentsRequired
|
||||
|
||||
.. autoexception:: discord.opus.OpusError
|
||||
|
||||
.. autoexception:: discord.opus.OpusNotLoaded
|
||||
@@ -2953,6 +2955,7 @@ Exception Hierarchy
|
||||
- :exc:`InvalidArgument`
|
||||
- :exc:`LoginFailure`
|
||||
- :exc:`ConnectionClosed`
|
||||
- :exc:`PrivilegedIntentsRequired`
|
||||
- :exc:`NoMoreItems`
|
||||
- :exc:`GatewayNotFound`
|
||||
- :exc:`HTTPException`
|
||||
|
Reference in New Issue
Block a user