Files
discord.js/lib/Endpoints.js
hydrabolt 1c8c9d2da3 Join Server returns server properly
Previously if the client was already part of a server and attempted to
accept an invite to it again, it would stall and not work correctly.
2015-08-28 17:49:47 +01:00

13 lines
457 B
JavaScript

"use strict";
exports.BASE_DOMAIN = "discordapp.com";
exports.BASE = "https://" + exports.BASE_DOMAIN;
exports.WEBSOCKET_HUB = "wss://" + exports.BASE_DOMAIN + "/hub";
exports.API = exports.BASE + "/api";
exports.AUTH = exports.API + "/auth";
exports.LOGIN = exports.AUTH + "/login";
exports.LOGOUT = exports.AUTH + "/logout";
exports.USERS = exports.API + "/users";
exports.SERVERS = exports.API + "/guilds";
exports.CHANNELS = exports.API + "/channels";