Bot wont show a status. No errors in the code or displayed.
My bot just wont display a status. Been troubleshooting for hours trying it on my own. My node version is 18.18.0. Never versions didnt work either.
7 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!
- ✅
Marked as resolved by OPit looks like ur trying to update the bot status every 5 seconds, which might be causing ratelimits
Use the activityType enum : https://discord-api-types.dev/api/discord-api-types-v10/enum/ActivityType
I completely forgot about that. I edited it to once every 5 Minutes.
number 3 or ActivityType.Watching
You are a lifesaver. Thanks!