Answers for "how to check the amount of servers a bot is in discord.js"

1

how to see in how many servers your discord bot is d.js

You need to use client.setActivity() and then use the client.guilds.cache.size value. 
For example:

client.setActivity(`Currently in ${client.guilds.cache.size} servers`);
Posted by: Guest on November-30-2020

Code answers related to "how to check the amount of servers a bot is in discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language