Fix: Update counter
parent
c8c0028976
commit
869ead6d28
|
@ -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);
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue