start rewriting voice websocket

This commit is contained in:
Amish Shah
2016-10-02 14:59:05 +01:00
parent c286c1443f
commit e201e9080f
5 changed files with 194 additions and 433 deletions

View File

@@ -258,7 +258,8 @@ class ClientVoiceManager {
});
pendingConnection.on('pass', voiceConnection => {
// do stuff
this.pending.delete(channel.guild.id);
this.connections.set(channel.guild.id, voiceConnection);
});
});
}