voice: more debug information

This commit is contained in:
Amish Shah
2019-02-11 17:22:17 +00:00
parent ab55acffdb
commit a705edfd0d
4 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
'use strict';
module.exports = (client, packet) => {
client.emit('debug', `[VOICE] received voice server: ${JSON.stringify(packet)}`);
client.emit('self.voiceServer', packet.d);
};