mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 21:43:33 +01:00
VoiceBroadcast.{dispatchers -> subscribers}
This commit is contained in:
@@ -15,7 +15,7 @@ class BroadcastDispatcher extends StreamDispatcher {
|
||||
|
||||
_write(chunk, enc, done) {
|
||||
if (!this.startTime) this.startTime = Date.now();
|
||||
for (const dispatcher of this.broadcast.dispatchers) {
|
||||
for (const dispatcher of this.broadcast.subscribers) {
|
||||
dispatcher._write(chunk, enc);
|
||||
}
|
||||
this._step(done);
|
||||
|
||||
Reference in New Issue
Block a user