aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-08 06:37:38 -0500
committerRapptz <[email protected]>2015-12-08 06:37:38 -0500
commita6d6d832ff7f6c49d33f4b6a98a80308b108fb58 (patch)
tree29e600fbcc3045bf879dac3fa01d68ced1388cf3 /discord/client.py
parentFix issue with member.roles being empty. (diff)
downloaddiscord.py-a6d6d832ff7f6c49d33f4b6a98a80308b108fb58.tar.xz
discord.py-a6d6d832ff7f6c49d33f4b6a98a80308b108fb58.zip
Working voice sending implementation.
Currently you can only send from a stream that implements ``read`` and a ``ffmpeg`` or ``avconv``.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 5d1729fb..284585a2 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1903,7 +1903,8 @@ class Client:
'channel': self.voice_channel,
'data': self._voice_data_found.data,
'loop': self.loop,
- 'session_id': self.session_id
+ 'session_id': self.session_id,
+ 'main_ws': self.ws
}
result = VoiceClient(**kwargs)