mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix end method in VoiceBroadcast (#3194)
* fix end method in VoiceBroadcast this.client is a ClientVoiceManager and thus its this.client.broadcasts instead of this.client.voice.broascasts * revert the voicebroadcast and pass this.client at clientvoice * passed this.client
This commit is contained in:
parent
62cba2e148
commit
8da141637c
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class ClientVoiceManager {
|
|||
* @returns {VoiceBroadcast}
|
||||
*/
|
||||
createBroadcast() {
|
||||
const broadcast = new VoiceBroadcast(this);
|
||||
const broadcast = new VoiceBroadcast(this.client);
|
||||
this.broadcasts.push(broadcast);
|
||||
return broadcast;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue