From 5a5316dc66cecfd1dcd6fac021c21ffd6fcf85c7 Mon Sep 17 00:00:00 2001 From: meew0 Date: Sat, 30 Jan 2016 23:34:07 +0100 Subject: [PATCH] Voice attribute documentation --- docs/docs_voiceconnection.rst | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/docs_voiceconnection.rst b/docs/docs_voiceconnection.rst index 665498f5d..1451d291c 100644 --- a/docs/docs_voiceconnection.rst +++ b/docs/docs_voiceconnection.rst @@ -22,4 +22,34 @@ client Client_ the connection belongs to -more docs coming soon :O \ No newline at end of file +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