Fix: Ready.js
parent
9a7e31bbf1
commit
b7a66a6b28
|
@ -12,7 +12,7 @@ client.on('ready', () => {
|
|||
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('857995452052799538');
|
||||
channel.setName(`Humans: ${memberCount.toLocaleString()}`);
|
||||
const channel = guild.channels.cache.get('906167542249308160');
|
||||
channel.setName(`Discord Members: ${memberCount.toLocaleString()}`);
|
||||
}, 600000);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue