Skip to content

Commit

Permalink
[New] Added activity
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Aug 30, 2021
1 parent f8aeff2 commit e1c9be9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions events/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ module.exports = {
}
});
console.log(`Ready! Logged in as ${client.user.tag}`);
const guilds = client.guilds.cache.map((guild) => guild.id);
client.user.setActivity(`${guilds.length} Servers!`, {
type: "WATCHING",
});
},
};

0 comments on commit e1c9be9

Please sign in to comment.