mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Update AudioPlayer.js
This commit is contained in:
parent
81619ac7be
commit
930519c494
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ class AudioPlayer extends EventEmitter {
|
|||
|
||||
playBroadcast(broadcast, { volume = 1, passes = 1 } = {}) {
|
||||
const options = { volume, passes };
|
||||
this.destroyAllStreams();
|
||||
this.destroyCurrentStream();
|
||||
const dispatcher = this.createDispatcher(broadcast, options);
|
||||
this.currentStream = {
|
||||
dispatcher,
|
||||
|
|
|
|||
Loading…
Reference in a new issue