mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Added web and grunt scripts
This commit is contained in:
@@ -1265,7 +1265,7 @@ var Client = (function () {
|
||||
key: "trySendConnData",
|
||||
value: function trySendConnData() {
|
||||
|
||||
if (this.token && this.websocket.readyState === WebSocket.OPEN && !this.alreadySentData) {
|
||||
if (this.token && !this.alreadySentData) {
|
||||
|
||||
this.alreadySentData = true;
|
||||
|
||||
@@ -1433,4 +1433,4 @@ function getGateway() {
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = Client;
|
||||
module.exports = Client;
|
||||
|
||||
Reference in New Issue
Block a user