mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
Voice attribute documentation
This commit is contained in:
@@ -22,4 +22,34 @@ client
|
|||||||
|
|
||||||
Client_ the connection belongs to
|
Client_ the connection belongs to
|
||||||
|
|
||||||
|
token
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
The token used to authenticate with Discord
|
||||||
|
|
||||||
|
server
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
The Server_ on which the voice connection takes place
|
||||||
|
|
||||||
|
encoder
|
||||||
|
~~~~~~~
|
||||||
|
|
||||||
|
The AudioEncoder_ used to encode data in this particular session
|
||||||
|
|
||||||
|
playingIntent
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
A StreamIntent_ used to bind events to the voice connection
|
||||||
|
|
||||||
|
playing
|
||||||
|
~~~~~~~
|
||||||
|
|
||||||
|
Whether or not the bot is currently playing something
|
||||||
|
|
||||||
|
streamTime
|
||||||
|
~~~~~~~~~~
|
||||||
|
|
||||||
|
The amount of time the current track has been playing for, in milliseconds
|
||||||
|
|
||||||
more docs coming soon :O
|
more docs coming soon :O
|
||||||
Reference in New Issue
Block a user