mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Fix
This commit is contained in:
@@ -247,7 +247,7 @@ client.on('ready', async () => {
|
|||||||
}, 1.8e+6);
|
}, 1.8e+6);
|
||||||
|
|
||||||
// Fetch all members
|
// Fetch all members
|
||||||
for (const guild of client.guilds) {
|
for (const guild of client.guilds.cache) {
|
||||||
await guild.members.fetch();
|
await guild.members.fetch();
|
||||||
}
|
}
|
||||||
client.logger.info('[MEMBERS] Fetched all guild members.');
|
client.logger.info('[MEMBERS] Fetched all guild members.');
|
||||||
|
|||||||
Reference in New Issue
Block a user