mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
small speed fix
This commit is contained in:
parent
4b5e229df9
commit
277e4929c4
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -228,7 +228,6 @@ exports.Client.prototype.connectWebsocket = function( cb ) {
|
|||
console.log("Took "+ (Date.now() - time) +" ms to prepare!");
|
||||
}
|
||||
} );
|
||||
console.log("-", x, Date.now() - time)
|
||||
}
|
||||
|
||||
} else if ( dat.t === "MESSAGE_CREATE" ) {
|
||||
|
|
@ -369,6 +368,7 @@ exports.Client.prototype.connectWebsocket = function( cb ) {
|
|||
|
||||
connDat.d.properties = Internal.WebSocket.properties;
|
||||
this.sendPacket( connDat );
|
||||
time = Date.now();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue