Browse Source

Add missing implementation for create_stream_player.

pull/57/head
Rapptz 9 years ago
parent
commit
bec7071c48
  1. 1
      discord/voice_client.py

1
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.

Loading…
Cancel
Save