diff options
| author | Rapptz <[email protected]> | 2020-09-14 03:49:21 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-23 03:21:20 -0400 |
| commit | bf8ca5899689863487a4ec1c343ead9a874cbde9 (patch) | |
| tree | d4f2b44a33e7280c12cfa3999e7eca7285db9813 /docs/api.rst | |
| parent | Pass default intents if not explicitly given (diff) | |
| download | discord.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.rst | 3 |
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` |