Question

How am I there that was in the bot's status the bot's statics
12 Replies
d.js toolkit
d.js toolkit2y 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
MrMythical2y ago
Could you reword that? Your sentence doesn't make sense
d.js docs
d.js docs2y ago
guide Popular Topics: Bot Configuration and Utility - How do I set both status and activity in one go? read more
Noam ♡
Noam ♡OP2y ago
Like this @mrmythical
Squid
Squid2y ago
That number is <Client>.guilds.cache.size
Noam ♡
Noam ♡OP2y ago
In which file do I say to add it? @Squid
Squid
Squid2y ago
You can set your presence in the object passed into your Client constructor
d.js docs
d.js docs2y ago
interface ClientOptions Options for a client.
Noam ♡
Noam ♡OP2y ago
confused
Squid
Squid2y ago
Sorry
Noam ♡
Noam ♡OP2y ago
? I did not understand @Squid
Danial
Danial2y 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
Want results from more Discord servers?
Add your server