Booboo v(=∩_∩=)フ
Booboo v(=∩_∩=)フ
Explore posts from servers
DIAdiscord.js - Imagine a bot
Created by Booboo v(=∩_∩=)フ on 7/15/2024 in #djs-questions
Sharding Client To Long to be Ready Error
I am creating a Discord Bot using Discord.js v14.15.3. Along with Node.js v18.18.2. I am currently trying to implement sharding into the project, but I get his error message when ever I run the bot. I get this before the bot goes online. Error
Error [ShardingReadyTimeout]: Shard 0's Client took too long to become ready.
at Timeout.onTimeout (C:\Coding\BOTNAMEHERE\bot\node_modules\discord.js\src\sharding\Shard.js:183:16)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
code: 'ShardingReadyTimeout'
}
Error [ShardingReadyTimeout]: Shard 0's Client took too long to become ready.
at Timeout.onTimeout (C:\Coding\BOTNAMEHERE\bot\node_modules\discord.js\src\sharding\Shard.js:183:16)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
code: 'ShardingReadyTimeout'
}
My current codebase that is related to sharding is two files, an index.js and a bot.js. Index.js: https://pastebin.com/zsik23wV Bot.js: https://pastebin.com/BttCCnpN Now, if there is anything else I can provide please let me know. @Qjuh, this is the post. Just pinging you because you told me to make it.
32 replies