diff --git a/Xiao.js b/Xiao.js index 556d4908..f53d2a8c 100644 --- a/Xiao.js +++ b/Xiao.js @@ -245,6 +245,12 @@ client.on('ready', async () => { client.botList.postCarbonStats(); client.botList.postBlistStats(); }, 1.8e+6); + + // Fetch all members + for (const guild of client.guilds) { + await guild.members.fetch(); + } + client.logger.info('[MEMBERS] Fetched all guild members.'); }); client.on('messageCreate', async msg => {