How to automatically set status?
As in, when I first setup discord.js, it would make my bots status "online", when the code was running, and "offline" when it wasn't. How can I return to that behavior?
(I used client.user.setStatus(PresenceUpdateStatus.Online); once, and it never went offline again).
6 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 OPnode v22.09
if your code isnt running your bot will show as offline
as easy as that
yeah, but that just doesn't happen tho
Takes a short while
bruh, im sorry, it did happen, I swear I tested it many times before making this thread. Yall probabli thinking im stupid lol. (I am stupid)