Shards are dying and re spawning again nd again
Logs:
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:48:38 >> [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
8|Raiden Bot | 16:48:38 >> [WS => Shard 1] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | 16:49:4 >> [WS => Shard 0] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | [Database] Successfully connected to Database.
8|Raiden Bot | [Event Handler] 27 Events are Ready to use
8|Raiden Bot | [Message Command Handler] 10 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 54 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 1 Menu Commands Loaded Successfully
8|Raiden Bot | [Button Command Handler] 27 Commands Loaded Successfully
8|Raiden Bot | 16:49:8 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | [SHARD MANAGER]: Shard #1 is ready!
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:49:14 >> [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
8|Raiden Bot | 16:49:14 >> [WS => Shard 1] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:49:46 >> [WS => Shard 0] Heartbeat acknowledged, latency of 29ms.
8|Raiden Bot | 16:49:49 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:49:55 >> [WS => Shard 1] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:50:27 >> [WS => Shard 0] Heartbeat acknowledged, latency of 25ms.
8|Raiden Bot | 16:50:31 >> [WS => Shard 2] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:50:36 >> [WS => Shard 1] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:51:8 >> [WS => Shard 0] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:51:12 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | [Database] Successfully connected to Database.
8|Raiden Bot | [Event Handler] 27 Events are Ready to use
8|Raiden Bot | [Message Command Handler] 10 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 54 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 1 Menu Commands Loaded Successfully
8|Raiden Bot | [Button Command Handler] 27 Commands Loaded Successfully
8|Raiden Bot | [SHARD MANAGER]: Shard #1 is ready!
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:51:49 >> [WS => Shard 0] Heartbeat acknowledged, latency of 23ms.
8|Raiden Bot | 16:51:53 >> [WS => Shard 2] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | 16:52:31 >> [WS => Shard 0] Heartbeat acknowledged, latency of 24ms.
8|Raiden Bot | 16:52:34 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:53:12 >> [WS => Shard 0] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | 16:53:16 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | 16:53:53 >> [WS => Shard 0] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:53:57 >> [WS => Shard 2] Heartbeat acknowledged, latency of 24ms.
8|Raiden Bot | 16:54:34 >> [WS => Shard 0] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:54:38 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:48:38 >> [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
8|Raiden Bot | 16:48:38 >> [WS => Shard 1] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | 16:49:4 >> [WS => Shard 0] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | [Database] Successfully connected to Database.
8|Raiden Bot | [Event Handler] 27 Events are Ready to use
8|Raiden Bot | [Message Command Handler] 10 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 54 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 1 Menu Commands Loaded Successfully
8|Raiden Bot | [Button Command Handler] 27 Commands Loaded Successfully
8|Raiden Bot | 16:49:8 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | [SHARD MANAGER]: Shard #1 is ready!
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:49:14 >> [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
8|Raiden Bot | 16:49:14 >> [WS => Shard 1] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:49:46 >> [WS => Shard 0] Heartbeat acknowledged, latency of 29ms.
8|Raiden Bot | 16:49:49 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:49:55 >> [WS => Shard 1] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:50:27 >> [WS => Shard 0] Heartbeat acknowledged, latency of 25ms.
8|Raiden Bot | 16:50:31 >> [WS => Shard 2] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:50:36 >> [WS => Shard 1] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:51:8 >> [WS => Shard 0] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:51:12 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | [Database] Successfully connected to Database.
8|Raiden Bot | [Event Handler] 27 Events are Ready to use
8|Raiden Bot | [Message Command Handler] 10 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 54 Commands Loaded Successfully
8|Raiden Bot | [Slash Command Handler] 1 Menu Commands Loaded Successfully
8|Raiden Bot | [Button Command Handler] 27 Commands Loaded Successfully
8|Raiden Bot | [SHARD MANAGER]: Shard #1 is ready!
8|Raiden Bot | [Raiden] Bot has been launched!
8|Raiden Bot | 16:51:49 >> [WS => Shard 0] Heartbeat acknowledged, latency of 23ms.
8|Raiden Bot | 16:51:53 >> [WS => Shard 2] Heartbeat acknowledged, latency of 19ms.
8|Raiden Bot | 16:52:31 >> [WS => Shard 0] Heartbeat acknowledged, latency of 24ms.
8|Raiden Bot | 16:52:34 >> [WS => Shard 2] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:53:12 >> [WS => Shard 0] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | 16:53:16 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
8|Raiden Bot | 16:53:53 >> [WS => Shard 0] Heartbeat acknowledged, latency of 20ms.
8|Raiden Bot | 16:53:57 >> [WS => Shard 2] Heartbeat acknowledged, latency of 24ms.
8|Raiden Bot | 16:54:34 >> [WS => Shard 0] Heartbeat acknowledged, latency of 22ms.
8|Raiden Bot | 16:54:38 >> [WS => Shard 2] Heartbeat acknowledged, latency of 21ms.
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!- Node: v18.13.0
got one more thing to add
8|Raiden Bot | 17:4:26 >> [WS => Shard 2] Destroying shard
8|Raiden Bot | Reason: Got disconnected by Discord
8|Raiden Bot | Code: 1000
8|Raiden Bot | Recover: Reconnect
8|Raiden Bot | 17:4:26 >> [WS => Shard 2] Connection status during destroy
8|Raiden Bot | Needs closing: false
8|Raiden Bot | Ready state: 3
8|Raiden Bot | 17:4:26 >> [WS => Shard 2] Destroying shard
8|Raiden Bot | Reason: Got disconnected by Discord
8|Raiden Bot | Code: 1000
8|Raiden Bot | Recover: Reconnect
8|Raiden Bot | 17:4:26 >> [WS => Shard 2] Connection status during destroy
8|Raiden Bot | Needs closing: false
8|Raiden Bot | Ready state: 3