Skip to content
Bot status
Profile icon
RyanJackson3

So I am currently scripting a discord bot using node.js but I cannot figure out how to make a bot status similar to this
image
I would really appreciate if anyone can tell me how to do this. Thanks!

You are viewing a single comment. View All
Profile icon
pes-gamergamer

client.on("ready", () => {
// This event will run if the bot starts, and logs in, successfully.
console.log(Bot has started, with ${client.users.cache.size} users, in ${client.channels.cache.size} channels of ${client.guilds.cache.size} guilds.);
// Example of changing the bot's playing game to something useful. client.user is what the
// docs refer to as the "ClientUser".
client.user.setActivity(Serving ${client.guilds.cache.size} servers);
});