diff --git a/events/ready.js b/events/ready.js index 9e6ba40..83dae35 100644 --- a/events/ready.js +++ b/events/ready.js @@ -7,10 +7,10 @@ client.on('ready', () => { client.user.setActivity(`!help | hullcss.org`, {type:"WATCHING"}) - const guild = client.guilds.cache.get('744586833135927366'); setInterval(() =>{ - const memberCount = guild.members.cache.filter(m => !m.user.bot).size; - const channel = guild.channels.cache.get('906167542249308160'); + const memberCount = client.guilds.cache.get('427865794467069962').memberCount + const channel = client.channels.cache.get('906167542249308160'); channel.setName(`Discord Members: ${memberCount.toLocaleString()}`); }, 600000); + })