From bf8ca5899689863487a4ec1c343ead9a874cbde9 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 14 Sep 2020 03:49:21 -0400 Subject: Add a special exception for required privileged intents --- docs/api.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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` -- cgit v1.2.3