mirror of
https://github.com/danbulant/discord.js
synced 2026-05-30 12:51:55 +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) {
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue