Question

How am I there that was in the bot's status the bot's statics
12 Replies
d.js toolkit
d.js toolkit13mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
MrMythical
MrMythical13mo ago
Could you reword that? Your sentence doesn't make sense
d.js docs
d.js docs13mo ago
guide Popular Topics: Bot Configuration and Utility - How do I set both status and activity in one go? read more
᲼᲼puxi᲼᲼
᲼᲼puxi᲼᲼13mo ago
Like this @mrmythical
Squid
Squid13mo ago
That number is <Client>.guilds.cache.size
᲼᲼puxi᲼᲼
᲼᲼puxi᲼᲼13mo ago
In which file do I say to add it? @Squid
Squid
Squid13mo ago
You can set your presence in the object passed into your Client constructor
d.js docs
d.js docs13mo ago
interface ClientOptions Options for a client.
᲼᲼puxi᲼᲼
᲼᲼puxi᲼᲼13mo ago
confused
Squid
Squid13mo ago
Sorry
᲼᲼puxi᲼᲼
᲼᲼puxi᲼᲼13mo ago
? I did not understand @Squid
Danial
Danial13mo ago
You can pass in the presence you want in the client constructor and the bot will have it each time it starts Have a look at this to see how to pass in presence to the client constructor