mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 14:11:09 +00:00
Move to v6 protocol
This commit is contained in:
parent
f2ccef1ce5
commit
50af835774
2 changed files with 1 additions and 2 deletions
|
|
@ -91,7 +91,6 @@ class WebSocketManager {
|
|||
checkIfReady() {
|
||||
if (this.status !== Constants.Status.READY) {
|
||||
let unavailableCount = 0;
|
||||
|
||||
for (const guildID in this.client.store.data.guilds) {
|
||||
unavailableCount += this.client.store.data.guilds[guildID].available ? 0 : 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ exports.DefaultOptions = {
|
|||
$referring_domain: '',
|
||||
},
|
||||
},
|
||||
protocol_version: 4,
|
||||
protocol_version: 6,
|
||||
max_message_cache: 200,
|
||||
rest_ws_bridge_timeout: 5000,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue