New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

devland.js

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devland.js - npm Package Compare versions

Comparing version

to
1.2.31

2

package.json

@@ -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