mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 12:35:53 +00:00
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.
12 lines
No EOL
217 B
JavaScript
12 lines
No EOL
217 B
JavaScript
"use strict";
|
|
|
|
var request = require("superagent");
|
|
var Endpoints = require("./Endpoints.js");
|
|
var Client = require("./Client.js");
|
|
|
|
var Discord = {
|
|
Endpoints: Endpoints,
|
|
Client: Client
|
|
};
|
|
|
|
module.exports = Discord; |