mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Fix VoiceDispatcher docs (#1214)
This commit is contained in:
parent
53209fbe31
commit
76637ed10d
1 changed files with 3 additions and 3 deletions
|
|
@ -63,9 +63,9 @@ class VoiceBroadcast extends VolumeInterface {
|
|||
const volume = old || dispatcher.volume;
|
||||
|
||||
/**
|
||||
* Emitted whenever a Stream Dispatcher unsubscribes from the broadcast
|
||||
* Emitted whenever a stream dispatcher unsubscribes from the broadcast
|
||||
* @event VoiceBroadcast#unsubscribe
|
||||
* @param {dispatcher} the dispatcher that unsubscribed
|
||||
* @param {StreamDispatcher} dispatcher The unsubscribed dispatcher
|
||||
*/
|
||||
this.emit('unsubscribe', dispatcher);
|
||||
for (const container of this._dispatchers.values()) {
|
||||
|
|
@ -99,7 +99,7 @@ class VoiceBroadcast extends VolumeInterface {
|
|||
/**
|
||||
* Emitted whenever a stream dispatcher subscribes to the broadcast
|
||||
* @event VoiceBroadcast#subscribe
|
||||
* @param {StreamDispatcher} dispatcher the subscribed dispatcher
|
||||
* @param {StreamDispatcher} dispatcher The subscribed dispatcher
|
||||
*/
|
||||
this.emit('subscribe', dispatcher);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue