devland.js
Advanced tools
Comparing version
@@ -12,3 +12,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.2.30", | ||
"version": "1.2.31", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -15,0 +15,0 @@ "main": "index.js", |
@@ -34,5 +34,5 @@ const Client = require('../../client/client') | ||
if (client.guilds.filter(g => g.ready === true).size < client.guilds.size) return// console.log('waiting ready') | ||
if (client.options.waitCacheBeforeReady && client.options.membersLifeTime && client.guilds.filter(g => g.members.size < g.totalMembersCount-5).size > 0) return console.log(client.guilds.filter(g => g.members.size < g.totalMembersCount).map(g => `${g.totalMembersCount}/${g.members.size} ${g.name}`)) | ||
if (client.options.waitCacheBeforeReady && client.options.presencesLifeTime && client.guilds.filter(g => g.presences.size < g.totalMembersCount-5).size > 0) return// console.log('waiting presences') | ||
if (client.options.waitCacheBeforeReady && client.options.voicesLifeTime && client.guilds.filter(g => g.voicesStates.size < g.totalMembersCount-5).size > 0) return //console.log('waiting voices') | ||
if (client.options.waitCacheBeforeReady && client.options.membersLifeTime && client.guilds.filter(g => g.members.size < g.totalMembersCount-15).size > 0) return //console.log(client.guilds.filter(g => g.members.size < g.totalMembersCount).map(g => `${g.totalMembersCount}/${g.members.size} ${g.name}`)) | ||
if (client.options.waitCacheBeforeReady && client.options.presencesLifeTime && client.guilds.filter(g => g.presences.size < g.totalMembersCount-15).size > 0) return// console.log('waiting presences') | ||
if (client.options.waitCacheBeforeReady && client.options.voicesLifeTime && client.guilds.filter(g => g.voicesStates.size < g.totalMembersCount-15).size > 0) return //console.log('waiting voices') | ||
clearInterval(checkGuilds) | ||
@@ -39,0 +39,0 @@ client.ready = true |
1698242
0