mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Added web and grunt scripts
This commit is contained in:
@@ -1045,7 +1045,7 @@ class Client {
|
||||
//def trySendConnData
|
||||
trySendConnData() {
|
||||
|
||||
if (this.token && this.websocket.readyState === WebSocket.OPEN && !this.alreadySentData) {
|
||||
if (this.token && !this.alreadySentData) {
|
||||
|
||||
this.alreadySentData = true;
|
||||
|
||||
|
||||
@@ -2,5 +2,9 @@ var request = require("superagent");
|
||||
var Endpoints = require("./Endpoints.js");
|
||||
var Client = require("./Client.js");
|
||||
|
||||
exports.Endpoints = Endpoints;
|
||||
exports.Client = Client;
|
||||
var Discord = {
|
||||
Endpoints : Endpoints,
|
||||
Client : Client
|
||||
}
|
||||
|
||||
module.exports = Discord;
|
||||
Reference in New Issue
Block a user