I created a member counter, but it is not updating. it's stuck on 80585. When I want to update it, I need to restart the bot.
My code:
client.on("ready", async() => {
let servercount = await client.guilds.cache.reduce((a,b) => a b.memberCount, 0 );
const activities = [
`${servercount} People