mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
voice: replace self.xyz events
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
module.exports = (client, packet) => {
|
||||
client.emit('debug', `[VOICE] received voice server: ${JSON.stringify(packet)}`);
|
||||
client.emit('self.voiceServer', packet.d);
|
||||
client.voice.onVoiceServer(packet.d);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user