mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Move to v6 protocol
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user