I need help with my bot activity thing

How do I make it so my bot activity to show how many guild are in

module.exports = async (client) => {
console.log([API] Logged in as ${client.user.username});
await client.user.setActivity("${client.guilds.size} servers!", {
type: “STREAMING”,//can be LISTENING, WATCHING, PLAYING, STREAMING
});
};

I suggest you familiarize yourself with JavaScript and how Discord.js works.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.