How to set offline status to bot

How to set offline status to bot instead of showing online or some random status.
11 Replies
d.js toolkit
d.js toolkitβ€’8mo 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! - βœ… Marked as resolved by staff
d.js docs
d.js docsβ€’8mo ago
method ClientUser#setStatus() Sets the status of the client user.
Fyphen
Fyphenβ€’8mo ago
Is it able to set that?
crackerberries
crackerberriesβ€’8mo ago
what they just sent you is a method with the specific purpose of setting the status
Fyphen
Fyphenβ€’8mo ago
ah yeah I know and I figure out it is possible I was just thinking that setting offline status to bot might be impossible due to some kind of security reasons of Discord API
crackerberries
crackerberriesβ€’8mo ago
No description
crackerberries
crackerberriesβ€’8mo ago
it should be able to
chewie 🌈
chewie πŸŒˆβ€’8mo ago
offline is impossible, invisible isnt
crackerberries
crackerberriesβ€’8mo ago
offline and invisible behave identically on the client side atleast from my experience whats the difference? do invisible users get pinged for things such as @here and whatnot
chewie 🌈
chewie πŸŒˆβ€’8mo ago
invisible just shows you offline for everyone, you are still online
dank
dankβ€’8mo ago
yes if you’re online