mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
src: Make broadcasts work again (#3190)
This commit is contained in:
parent
f479afca82
commit
89e27e5071
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ class VoiceBroadcast extends EventEmitter {
|
||||||
add(dispatcher) {
|
add(dispatcher) {
|
||||||
const index = this.dispatchers.indexOf(dispatcher);
|
const index = this.dispatchers.indexOf(dispatcher);
|
||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
|
this.dispatchers.push(dispatcher);
|
||||||
/**
|
/**
|
||||||
* Emitted whenever a stream dispatcher subscribes to the broadcast.
|
* Emitted whenever a stream dispatcher subscribes to the broadcast.
|
||||||
* @event VoiceBroadcast#subscribe
|
* @event VoiceBroadcast#subscribe
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue