Add a special exception for required privileged intents

This commit is contained in:
Rapptz committed 2020-09-14 03:49:21 -04:00
1 parent 4c56e6da9c
commit 6546f63ad7
4 files changed
+46 -3

No files matched your search

+3
View File
@@ -2924,6 +2924,8 @@ The following exceptions are thrown by the library.
.. autoexception:: ConnectionClosed
.. autoexception:: PrivilegedIntentsRequired
.. autoexception:: discord.opus.OpusError
.. autoexception:: discord.opus.OpusNotLoaded
@@ -2940,6 +2942,7 @@ Exception Hierarchy
- :exc:`InvalidArgument`
- :exc:`LoginFailure`
- :exc:`ConnectionClosed`
- :exc:`PrivilegedIntentsRequired`
- :exc:`NoMoreItems`
- :exc:`GatewayNotFound`
- :exc:`HTTPException`