voice: more debug information, correctly listen to vws

This commit is contained in:
Amish Shah
2019-02-11 18:28:37 +00:00
parent 375706beac
commit fe51b4e89b
2 changed files with 3 additions and 2 deletions

View File

@@ -413,6 +413,8 @@ class VoiceConnection extends EventEmitter {
ws.on('ready', this.onReady.bind(this));
ws.on('sessionDescription', this.onSessionDescription.bind(this));
ws.on('speaking', this.onSpeaking.bind(this));
this.sockets.ws.connect();
}
/**