How do I make sure my Discord bot stays idle?
I have a discord bot that sets a status to idle when it's ready, but is there a way to ensure it stays idle, and doesn't eventually switch to an online status?
12 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!Or does Discord always set the bot's activity status to online when it sends a message?
I'm already setting it on startup to idle, that's the only place I set it
read what i said again, please
Yeah I see, so is there any way to circumvent that? or should I periodically set it again
read
working on it sorry lol
read, don't type. when done reading, consider typing
damn
Okay yeah I've set it in the constructor, that should be it?
that should persist, yes
alright, thank you!