2021-10-08 23:58:57 +00:00
|
|
|
module.exports = (client) => {
|
|
|
|
console.log(
|
|
|
|
`Ready to server in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`
|
|
|
|
);
|
|
|
|
|
2023-03-19 09:50:24 +00:00
|
|
|
const activities = [`Giveaways in ${client.guilds.cache.size} guilds`,`over ${client.users.cache.size} users!`];
|
2021-10-08 23:58:57 +00:00
|
|
|
setInterval(() => {
|
|
|
|
let activity = activities[Math.floor(Math.random() * activities.length)];
|
|
|
|
client.user.setActivity(activity, { type: "WATCHING" });
|
|
|
|
}, 20000);
|
|
|
|
|
|
|
|
};
|