mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 21:04:49 +12: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