mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Merge branch 'master' into indev
This commit is contained in:
@@ -257,7 +257,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