From bec7071c48c659c741beab25bd2e789f20af5ff7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 10 Dec 2015 22:39:00 -0500 Subject: [PATCH] Add missing implementation for create_stream_player. --- discord/voice_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/voice_client.py b/discord/voice_client.py index 51f8929bd..cf8a510dc 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -451,6 +451,7 @@ class VoiceClient: StreamPlayer A stream player with the operations noted above. """ + return StreamPlayer(stream, self.encoder, self._connected, self.play_audio, after) def play_audio(self, data): """Sends an audio packet composed of the data.