Added user.voiceChannel to see where a user is speaking

Returns null if they aren't speaking, otherwise this is a VoiceChannel object.
This commit is contained in:
Amish Shah
2015-12-26 17:21:16 +00:00
parent 9d97dfc95a
commit a6a9f08565
4 changed files with 9 additions and 3 deletions

View File

@@ -55,9 +55,9 @@ author = u'hydrabolt'
# built documents.
#
# The short X.Y version.
version = '5.0'
version = '5.3'
# The full version, including alpha/beta/rc tags.
release = '5.0.0'
release = '5.3.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -64,6 +64,11 @@ avatarURL
A valid URL to the user's avatar if they have one, otherwise null.
voiceChannel
~~~~~~~~~~~~
The VoiceChannel_ the user is connected to. If they aren't in any voice channels, this will be ``null``.
Functions
---------

View File

@@ -16,4 +16,4 @@ Attributes
speaking
~~~~~~~~
A Cache_ of User_s that are speaking in the voice channel
A Cache_ of Users_ that are speaking in the voice channel

View File

@@ -1,6 +1,7 @@
.. _Client : ./docs_client.html
.. _Cache : ./docs_cache.html
.. _User : ./docs_user.html
.. _Users : ./docs_user.html
.. _Server : ./docs_server.html
.. _Channel : ./docs_channel.html
.. _ServerChannel : ./docs_serverchannel.html