mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Fix VoiceConnection.playConvertedStream not playing anything (#708)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
8bcb670920
commit
f383c78414
@@ -255,7 +255,7 @@ class VoiceConnection extends EventEmitter {
|
||||
*/
|
||||
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||
const options = { seek, volume, passes };
|
||||
this._shutdown();
|
||||
this.player._shutdown();
|
||||
const dispatcher = this.player.playPCMStream(stream, options);
|
||||
return dispatcher;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user