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 toolkit15mo 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
jethro15mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
</JustTheDev>
</JustTheDev>OP15mo ago
But how can i set it to the count of guilds the bot is in?
jethro
jethro15mo ago
client.guilds.cache.size
</JustTheDev>
</JustTheDev>OP15mo ago
yeah that doesnt work for some reason
SpecialSauce
SpecialSauce15mo ago
What doesn’t work about it?
Harnes
Harnes15mo ago
It will work fine as long as you have guilds intent enabled

Did you find this page helpful?