Added web and grunt scripts

This commit is contained in:
hydrabolt
2015-08-27 21:21:35 +01:00
parent 96846654df
commit 6b3cbdbde8
16 changed files with 3415 additions and 15 deletions

View File

@@ -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;

View File

@@ -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;