From 54c4bea487fe044700184d3550446b5128fb1e14 Mon Sep 17 00:00:00 2001 From: KieranRobson Date: Mon, 27 Jun 2022 11:42:38 +0100 Subject: [PATCH] Added rotating status --- events/ready.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 83dae35..70f8fbc 100644 --- a/events/ready.js +++ b/events/ready.js @@ -4,8 +4,16 @@ const client = require("../index"); client.on('ready', () => { console.log('HullCSS is online') - client.user.setActivity(`!help | hullcss.org`, {type:"WATCHING"}) + const Activities = [ + "!help", + "Hullcss.org", + "Slash Commands", + ]; + + setInterval(() =>{ + client.user.setActivity(Activities[Math.floor(Math.random() * Activities.length)], {type:"WATCHING"}) + }, 180000); setInterval(() =>{ const memberCount = client.guilds.cache.get('427865794467069962').memberCount