From a6d6d832ff7f6c49d33f4b6a98a80308b108fb58 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 8 Dec 2015 06:37:38 -0500 Subject: Working voice sending implementation. Currently you can only send from a stream that implements ``read`` and a ``ffmpeg`` or ``avconv``. --- discord/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'discord/client.py') 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) -- cgit v1.2.3