aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-10 22:39:00 -0500
committerRapptz <[email protected]>2015-12-10 22:39:00 -0500
commitbec7071c48c659c741beab25bd2e789f20af5ff7 (patch)
tree228b5094b078567af34e075189a7133e7538c71c
parentSimplified permissions bit operations. (diff)
downloaddiscord.py-bec7071c48c659c741beab25bd2e789f20af5ff7.tar.xz
discord.py-bec7071c48c659c741beab25bd2e789f20af5ff7.zip
Add missing implementation for create_stream_player.
-rw-r--r--discord/voice_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index 51f8929b..cf8a510d 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.