fetch all guild members hehe

This commit is contained in:
Dragon Fire
2024-03-19 23:26:53 -04:00
parent 989b5d9b4d
commit 69e62f39d7
+6
View File
@@ -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 => {