aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-09-14 03:49:21 -0400
committerRapptz <[email protected]>2020-09-23 03:21:20 -0400
commitbf8ca5899689863487a4ec1c343ead9a874cbde9 (patch)
treed4f2b44a33e7280c12cfa3999e7eca7285db9813 /docs/api.rst
parentPass default intents if not explicitly given (diff)
downloaddiscord.py-bf8ca5899689863487a4ec1c343ead9a874cbde9.tar.xz
discord.py-bf8ca5899689863487a4ec1c343ead9a874cbde9.zip
Add a special exception for required privileged intents
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index b3c10991..d697b4f3 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -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`