2022-05-10 01:17:25 +01:00
|
|
|
const client = require("../index");
|
|
|
|
|
|
|
|
|
|
|
|
client.on('ready', () => {
|
|
|
|
console.log('HullCSS is online')
|
2022-05-10 12:22:04 +01:00
|
|
|
client.user.setActivity(`-help | hullcss.org` , {type:"WATCHING"})
|
2022-05-10 01:17:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-10 01:26:36 +01:00
|
|
|
const guild = client.guilds.cache.get('427865794467069962');
|
2022-05-10 01:17:25 +01:00
|
|
|
setInterval(() =>{
|
2022-05-10 12:22:04 +01:00
|
|
|
const memberCount = guild.members.cache.size;
|
2022-05-10 01:26:36 +01:00
|
|
|
const channel = guild.channels.cache.get('906167542249308160');
|
|
|
|
channel.setName(`Discord Members: ${memberCount.toLocaleString()}`);
|
2022-05-10 01:17:25 +01:00
|
|
|
}, 600000);
|
|
|
|
|
|
|
|
})
|