mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Add missing implementation for create_stream_player.
This commit is contained in:
parent
98ba68bb66
commit
bec7071c48
@ -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…
x
Reference in New Issue
Block a user