Add client.destroy();

This commit is contained in:
Amish Shah
2016-08-30 13:05:50 +01:00
parent 56352220af
commit d249aa10cc
18 changed files with 74 additions and 42 deletions

View File

@@ -66,7 +66,7 @@ class VoiceConnectionWebSocket extends EventEmitter {
}
_setHeartbeat(interval) {
this.heartbeat = setInterval(() => {
this.heartbeat = this.voiceConnection.manager.client.setInterval(() => {
this.send({
op: Constants.VoiceOPCodes.HEARTBEAT,
d: null,