mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
voice: fix receiver null on immediate voiceStateUpdate
This commit is contained in:
@@ -108,6 +108,8 @@ class VoiceConnectionUDPClient extends EventEmitter {
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
socket.on('message', buffer => this.voiceConnection.receiver.packets.push(buffer));
|
||||
});
|
||||
|
||||
const blankMessage = Buffer.alloc(70);
|
||||
|
||||
Reference in New Issue
Block a user