mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Update AudioPlayer.js
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user