Shards and presence
Hey, I’m looking to get a rotating presence on a discord bot. The bot auto brings up around 38 shards, and so the prescience is a little bit messed up when it changes. I’ve set it to one minute to change, but as all shards start at different times that’s ruined.
Not sure what the correct way to do this is?
4 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!Use a cron job
Is there any docs on that?
Not in d.js, as it's implemented via other packages. Check out node-cron iirc