diff --git a/lib/index.js b/lib/index.js index fa2343ae4..f40ad04a1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,8 +1,6 @@ "use strict"; var request = require("superagent"); -var Endpoints = require("./Endpoints.js"); var Client = require("./Client.js"); -exports.Endpoints = Endpoints; exports.Client = Client; \ No newline at end of file diff --git a/package.json b/package.json index a20514ae9..fce74adc0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A way to interface with the Discord API", "main": "./lib/index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "node ./test/bot.js" }, "repository": { "type": "git", diff --git a/src/index.js b/src/index.js index f64a62a7f..8c059d576 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,4 @@ var request = require("superagent"); -var Endpoints = require("./Endpoints.js"); var Client = require("./Client.js"); -exports.Endpoints = Endpoints; exports.Client = Client; \ No newline at end of file diff --git a/test/bot.js b/test/bot.js index ee15f97b5..5e6670da4 100644 --- a/test/bot.js +++ b/test/bot.js @@ -2,7 +2,7 @@ */ -var Discord = require("../lib/index.js"); +var Discord = require("../"); var Auth = require("./auth.json"); var mybot = new Discord.Client();