Move to v6 protocol

This commit is contained in:
Amish Shah
2016-08-13 14:53:04 +01:00
parent f2ccef1ce5
commit 50af835774
2 changed files with 1 additions and 2 deletions

View File

@@ -91,7 +91,6 @@ class WebSocketManager {
checkIfReady() { checkIfReady() {
if (this.status !== Constants.Status.READY) { if (this.status !== Constants.Status.READY) {
let unavailableCount = 0; let unavailableCount = 0;
for (const guildID in this.client.store.data.guilds) { for (const guildID in this.client.store.data.guilds) {
unavailableCount += this.client.store.data.guilds[guildID].available ? 0 : 1; unavailableCount += this.client.store.data.guilds[guildID].available ? 0 : 1;
} }

View File

@@ -10,7 +10,7 @@ exports.DefaultOptions = {
$referring_domain: '', $referring_domain: '',
}, },
}, },
protocol_version: 4, protocol_version: 6,
max_message_cache: 200, max_message_cache: 200,
rest_ws_bridge_timeout: 5000, rest_ws_bridge_timeout: 5000,
}; };