devland.js
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -10,3 +10,3 @@ { | ||
"name": "devland.js", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "A powerful API wrapper for the Discord API designed for modern bots", | ||
@@ -13,0 +13,0 @@ "main": "index.js", |
@@ -155,3 +155,4 @@ const { EventEmitter } = require('events') | ||
} | ||
} | ||
}, | ||
ping: null | ||
} | ||
@@ -158,0 +159,0 @@ |
@@ -11,5 +11,5 @@ const p = require('phin').promisified; | ||
})); | ||
client.ws.gateway.heartbeat.last = Date.now() | ||
client.ws.gateway.heartbeat.recieved = false; | ||
}, client.ws.gateway.heartbeat.interval); | ||
} |
@@ -51,2 +51,3 @@ const ws = require('ws'); | ||
case 11: | ||
client.ws.ping = (Date.now()-client.ws.gateway.heartbeat.last) | ||
client.ws.gateway.heartbeat.last = Date.now(); | ||
@@ -53,0 +54,0 @@ client.ws.gateway.heartbeat.recieved = true; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
720347
12602