mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
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:
@@ -55,9 +55,9 @@ author = u'hydrabolt'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '5.0'
|
version = '5.3'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# 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
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
@@ -64,6 +64,11 @@ avatarURL
|
|||||||
|
|
||||||
A valid URL to the user's avatar if they have one, otherwise null.
|
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
|
Functions
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ Attributes
|
|||||||
speaking
|
speaking
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
|
||||||
A Cache_ of User_s that are speaking in the voice channel
|
A Cache_ of Users_ that are speaking in the voice channel
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
.. _Client : ./docs_client.html
|
.. _Client : ./docs_client.html
|
||||||
.. _Cache : ./docs_cache.html
|
.. _Cache : ./docs_cache.html
|
||||||
.. _User : ./docs_user.html
|
.. _User : ./docs_user.html
|
||||||
|
.. _Users : ./docs_user.html
|
||||||
.. _Server : ./docs_server.html
|
.. _Server : ./docs_server.html
|
||||||
.. _Channel : ./docs_channel.html
|
.. _Channel : ./docs_channel.html
|
||||||
.. _ServerChannel : ./docs_serverchannel.html
|
.. _ServerChannel : ./docs_serverchannel.html
|
||||||
|
|||||||
Reference in New Issue
Block a user