Roll back to previous WS url, it broke

This commit is contained in:
hydrabolt
2015-10-02 16:06:01 +01:00
parent ada3261918
commit ccb1798b7b
3 changed files with 50 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ class Client {
self.token = res.body.token; //set our token
self.getGateway().then(function (url) {
self.createws(url.replace("discord.gg", "discordapp.net"));
self.createws(url);
callback(null, self.token);
resolve(self.token);
}).catch(function (err) {