Answers for "how to find out what servers your 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
1

discord bot status javascript

//in your main bot file
client.on('ready', () => {
    client.user.setActivity({
        name: "A Game",
        type: "PLAYING"
        
    });
});
Posted by: Guest on October-06-2021

Code answers related to "how to find out what servers your bot is in discord js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language