Fix: Ready.js

imgbot
kieranrobson 2022-06-02 02:40:53 +01:00
parent 9a7e31bbf1
commit b7a66a6b28
1 changed files with 2 additions and 2 deletions

View File

@ -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);
})