Jonah
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Unfortunately no one has made a guide for it to explain it further
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Do I have to note anything when using this typ of sharding?
I am still not really sure how this process works and I am only familiar with the mainlib sharding and the documentation isn’t telling me much 😅
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Yeah I am definitely smarter now then before I started the thread. I will try around to see how far I come now with the sharding of ws
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Ah I assumed its similar to the sharding of the mainlib which inizializes a client per shards and thats by broadcasteval is needed to run code on all shards
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Yeah exacly but currently its still using something like client.guilds = new Map() per shard and not a central location like a redis
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Another question from my side
There wont be no broadCastEval so how could I get infos from every shard?
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
176
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
and discord-hybrid-sharding
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Yes
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
currently it takes at least 15min to fully start
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Well I didnt messured the time before
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Thanks for telling me
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
ohhhh
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
yea
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
I didnt noticed any difference when Discord send me an DM that the bot reached 150k and will now use large sharding
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
Yes
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
The rewrite has been fun so far. Learned a lot new stuff and noticed how much work the mainlib took over for me
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
because of large bot sharding I tought that 16 shards per worker would be fine
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
I am currently rewriting from discord.js to fully @discordjs/core but the shardcount will be the same
So I will need around 176
91 replies
DIAdiscord.js - Imagine an app
•Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
I will try it out
91 replies