aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-08 19:37:34 -0500
committerRapptz <[email protected]>2015-12-08 19:37:34 -0500
commit72f355bb64e05f6e9cc848445c026bfbbafca3ae (patch)
tree98852912e58047f2b086c4f5276f4906a3bd5abe /docs/api.rst
parentExplicitly close responses that don't get read. (diff)
downloaddiscord.py-72f355bb64e05f6e9cc848445c026bfbbafca3ae.tar.xz
discord.py-72f355bb64e05f6e9cc848445c026bfbbafca3ae.zip
Add OpusNotLoaded exception and opus.is_loaded utility function.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index e503e703..05d84c31 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -33,6 +33,8 @@ Opus Library
.. autofunction:: opus.load_opus
+.. autofunction:: opus.is_loaded
+
.. _discord-api-events:
Event Reference
@@ -457,4 +459,6 @@ The following exceptions are thrown by the library.
.. autoexception:: GatewayNotFound
-.. autoexception:: OpusError
+.. autoexception:: opus.OpusError
+
+.. autoexception:: opus.OpusNotLoaded