Nikki ๐บ
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
so if anyone comes across this error, just remove the "@discordjs/ws": "dev" override in your package.json
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I just cloned the repo as is, installed the packages and then tried multiple ways to start the bot
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I also want to add that this is the third device that I have run this code on and gotten the exact same issue
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I also added the warn and debug events to see if there might be an issue with discord but the only thing it logs is this:
and then the error right after that..
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
Printing this.shards results in this:
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
(just want to add that this is also no issue with bun, I tried others)
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
Running the bot without any kind of sharding results in the exact same error
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
No, i did not receive that error
I was running a dev bot thatโs only in one guild
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I still get the same error, it doesnโt matter if i use the sharding manager or not
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I said that commenting it out didnโt work either
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I can't reproduce it, just showed up a few times yesterday and then it doesn't work for a while.
But when it happened I commented out anything related to the Sharding Manager in my client class and started the bot file directly (not the sharding manager file) and got the same error again
it just goes away after waiting for maybe around 20-30 minutes
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I'm just very confused by the inconsistency of this issue
sometimes it works and sometimes it doesn't
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
I can't log anything while it's fine right now, I can do that if it happens again though
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
Odd that I got the same error without using the third party sharding manager then
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
Yeah, chrissy said two different things and put an OR between them
he was just assuming what could have gone wrong there
I don't think they logged anything, just told me to do that but I was unable to at the time
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
but right now it's working again locally and on the host
37 replies
DIAdiscord.js - Imagine an app
โขCreated by Nikki ๐บ on 7/25/2024 in #djs-questions
Random shard sessionInfo errors
No, it also did the same when I started the bot without the ShardingManager
37 replies