Add OpusNotLoaded exception and opus.is_loaded utility function.

This commit is contained in:
Rapptz
2015-12-08 19:37:34 -05:00
parent 9e36047ffb
commit 72f355bb64
3 changed files with 36 additions and 3 deletions

View File

@ -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