mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
Merge branch 'master' into indev
This commit is contained in:
commit
468077ce96
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class VoiceConnection extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||||
const options = { seek, volume, passes };
|
const options = { seek, volume, passes };
|
||||||
this._shutdown();
|
this.player._shutdown();
|
||||||
const dispatcher = this.player.playPCMStream(stream, options);
|
const dispatcher = this.player.playPCMStream(stream, options);
|
||||||
return dispatcher;
|
return dispatcher;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue