and
and
DIAdiscord.js - Imagine an app
Created by and on 9/11/2024 in #djs-questions
Client won't start
I added client.on('debug', console.log), and this is what I get:
[WS => Manager] Fetched Gateway Information
URL: wss://gateway.discord.gg
Recommended Shards: 12
[WS => Manager] Session Limit Information
Total: 1000
Remaining: 979
[WS => Shard 0] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 0] Waiting for event hello for 60000ms
[WS => Shard 1] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 1] Waiting for event hello for 60000ms
[WS => Shard 2] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 2] Waiting for event hello for 60000ms
[WS => Shard 3] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 3] Waiting for event hello for 60000ms
[WS => Shard 4] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 4] Waiting for event hello for 60000ms
[WS => Shard 2] Preparing first heartbeat of the connection with a jitter of 0.7972825342558598; waiting 32887ms
[WS => Shard 2] Waiting for identify throttle
[WS => Shard 2] Identifying
shard id: 2
shard count: 5
intents: 33539
compression: none
[WS => Shard 2] Waiting for event ready for 15000ms
[WS => Shard 0] Preparing first heartbeat of the connection with a jitter of 0.12541573167101427; waiting 5173ms
[WS => Shard 0] Waiting for identify throttle
[WS => Shard 1] Preparing first heartbeat of the connection with a jitter of 0.8107862883645616; waiting 33444ms
[WS => Shard 1] Waiting for identify throttle
[WS => Shard 4] Preparing first heartbeat of the connection with a jitter of 0.8720030372092631; waiting 35970ms
[WS => Shard 4] Waiting for identify throttle
[WS => Shard 3] Preparing first heartbeat of the connection with a jitter of 0.9811653995885212; waiting 40473ms
[WS => Shard 3] Waiting for identify throttle
[WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 203ms.
[WS => Shard 0] Identifying
shard id: 0
shard count: 5
intents: 33539
compression: none
[WS => Shard 0] Waiting for event ready for 15000ms
[WS => Shard 1] Identifying
shard id: 1
shard count: 5
intents: 33539
compression: none
[WS => Shard 1] Waiting for event ready for 15000ms
[WS => Shard 4] Identifying
shard id: 4
shard count: 5
intents: 33539
compression: none
[WS => Shard 4] Waiting for event ready for 15000ms
[WS => Shard 3] Identifying
shard id: 3
shard count: 5
intents: 33539
compression: none
[WS => Shard 3] Waiting for event ready for 15000ms
[WS => Shard 2] Shard did not receive any guild packets in 15000 ms.
Unavailable guild count: 2251
[WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 4] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 3] First heartbeat sent, starting to beat every 41250ms
[ERROR] Task failed | Skipped execution of task `patreon` because it requires the client instance which is not ready (yet).
[WS => Shard 3] Shard did not receive any guild packets in 15000 ms.
Unavailable guild count: 2348
[WS => Shard 2] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 2] Connection status during destroy
Needs closing: true
Ready state: 1
[WS => Shard 1] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 1] Connection status during destroy
Needs closing: true
Ready state: 1
[WS => Shard 4] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 4] Connection status during destroy
Needs closing: true
Ready state: 1
[WS => Manager] Fetched Gateway Information
URL: wss://gateway.discord.gg
Recommended Shards: 12
[WS => Manager] Session Limit Information
Total: 1000
Remaining: 979
[WS => Shard 0] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 0] Waiting for event hello for 60000ms
[WS => Shard 1] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 1] Waiting for event hello for 60000ms
[WS => Shard 2] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 2] Waiting for event hello for 60000ms
[WS => Shard 3] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 3] Waiting for event hello for 60000ms
[WS => Shard 4] Connecting to wss://gateway.discord.gg?v=10&encoding=json
[WS => Shard 4] Waiting for event hello for 60000ms
[WS => Shard 2] Preparing first heartbeat of the connection with a jitter of 0.7972825342558598; waiting 32887ms
[WS => Shard 2] Waiting for identify throttle
[WS => Shard 2] Identifying
shard id: 2
shard count: 5
intents: 33539
compression: none
[WS => Shard 2] Waiting for event ready for 15000ms
[WS => Shard 0] Preparing first heartbeat of the connection with a jitter of 0.12541573167101427; waiting 5173ms
[WS => Shard 0] Waiting for identify throttle
[WS => Shard 1] Preparing first heartbeat of the connection with a jitter of 0.8107862883645616; waiting 33444ms
[WS => Shard 1] Waiting for identify throttle
[WS => Shard 4] Preparing first heartbeat of the connection with a jitter of 0.8720030372092631; waiting 35970ms
[WS => Shard 4] Waiting for identify throttle
[WS => Shard 3] Preparing first heartbeat of the connection with a jitter of 0.9811653995885212; waiting 40473ms
[WS => Shard 3] Waiting for identify throttle
[WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 203ms.
[WS => Shard 0] Identifying
shard id: 0
shard count: 5
intents: 33539
compression: none
[WS => Shard 0] Waiting for event ready for 15000ms
[WS => Shard 1] Identifying
shard id: 1
shard count: 5
intents: 33539
compression: none
[WS => Shard 1] Waiting for event ready for 15000ms
[WS => Shard 4] Identifying
shard id: 4
shard count: 5
intents: 33539
compression: none
[WS => Shard 4] Waiting for event ready for 15000ms
[WS => Shard 3] Identifying
shard id: 3
shard count: 5
intents: 33539
compression: none
[WS => Shard 3] Waiting for event ready for 15000ms
[WS => Shard 2] Shard did not receive any guild packets in 15000 ms.
Unavailable guild count: 2251
[WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 4] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 3] First heartbeat sent, starting to beat every 41250ms
[ERROR] Task failed | Skipped execution of task `patreon` because it requires the client instance which is not ready (yet).
[WS => Shard 3] Shard did not receive any guild packets in 15000 ms.
Unavailable guild count: 2348
[WS => Shard 2] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 2] Connection status during destroy
Needs closing: true
Ready state: 1
[WS => Shard 1] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 1] Connection status during destroy
Needs closing: true
Ready state: 1
[WS => Shard 4] Destroying shard
Reason: Zombie connection
Code: 4200
Recover: Resume
[WS => Shard 4] Connection status during destroy
Needs closing: true
Ready state: 1
157 replies