Rotating presence with 16x sharding

My bot has 16x sharding enabled, and I'm not sure at which level to handle my rotating client presence. Should it be done at Client#ready or Client#shardReady passing shardId into the options for ClientUser#setPresence? here's a relavent codebit: https://github.com/Fyko/thoth/blob/main/apps/bot/src/events/shard/ready.ts
4 Replies
d.js toolkit
d.js toolkit12mo ago
- 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!
Carter
CarterOP12mo ago
i'm concerned because when i view my bot in the dm list, it often shuffles through a bunch of presences in one second
Carter
CarterOP12mo ago
Zoey Luna
Zoey Luna12mo ago
Hey
Want results from more Discord servers?
Add your server