Bot status & guild count

How do i set the bot status to something like WATCHING {guilds-the-bot-is-in} servers
7 Replies
d.js toolkit
d.js toolkit4mo 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!
jethro
jethro4mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
</JustTheDev>
</JustTheDev>4mo ago
But how can i set it to the count of guilds the bot is in?
jethro
jethro4mo ago
client.guilds.cache.size
</JustTheDev>
</JustTheDev>4mo ago
yeah that doesnt work for some reason
SpecialSauce
SpecialSauce4mo ago
What doesn’t work about it?
Harnes
Harnes4mo ago
It will work fine as long as you have guilds intent enabled