mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
src: Make broadcasts work again (#3190)
This commit is contained in:
@@ -74,6 +74,7 @@ class VoiceBroadcast extends EventEmitter {
|
||||
add(dispatcher) {
|
||||
const index = this.dispatchers.indexOf(dispatcher);
|
||||
if (index === -1) {
|
||||
this.dispatchers.push(dispatcher);
|
||||
/**
|
||||
* Emitted whenever a stream dispatcher subscribes to the broadcast.
|
||||
* @event VoiceBroadcast#subscribe
|
||||
|
||||
Reference in New Issue
Block a user