From d71873be2fdaf831f62ddf42586166d48df3e6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aarav=E2=80=8F=E2=80=8F=E2=80=8E=20=E2=80=8EMehta?= Date: Tue, 27 Jul 2021 12:36:34 +0530 Subject: [PATCH 1/2] Added Custom Status to the Bot --- events/ready.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 7ba985d..2ff626b 100644 --- a/events/ready.js +++ b/events/ready.js @@ -1,3 +1,10 @@ module.exports = (client) => { console.log(`Ready as ${client.user.tag} to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`); -}; \ No newline at end of file + const activities = [`All Giveaways Running Smoothly`, `Made By Androz2091`, `https://github.com/Androz2091/giveaways-bot/`]; + setInterval(() => { + let activity = activities[Math.floor(Math.random() * activities.length)]; + client.user.setActivity(activity, { type: "WATCHING" }); + }, 20000); + +}; +}; From bd5a2a0d82c9b0d5e8fa285721c4767325299880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aarav=E2=80=8F=E2=80=8F=E2=80=8E=20=E2=80=8EMehta?= Date: Mon, 20 Sep 2021 19:21:47 +0530 Subject: [PATCH 2/2] Update ready.js --- events/ready.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 2ff626b..b4ad1e9 100644 --- a/events/ready.js +++ b/events/ready.js @@ -1,6 +1,6 @@ module.exports = (client) => { console.log(`Ready as ${client.user.tag} to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`); - const activities = [`All Giveaways Running Smoothly`, `Made By Androz2091`, `https://github.com/Androz2091/giveaways-bot/`]; + const activities = [`All Giveaways Running Smoothly`, `Many Giveaways`, `People winning a prize`]; setInterval(() => { let activity = activities[Math.floor(Math.random() * activities.length)]; client.user.setActivity(activity, { type: "WATCHING" });