mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Merge pull request #28 from hydrabolt/permission
rebuild and prepublish
This commit is contained in:
@@ -44,5 +44,6 @@ module.exports = function (grunt) {
|
||||
// register at least this one task
|
||||
grunt.registerTask('default', ['babel']);
|
||||
grunt.registerTask('web', ['browserify', "uglify"]);
|
||||
grunt.registerTask('dist', ["babel", "browserify", "uglify"])
|
||||
|
||||
};
|
||||
@@ -1925,4 +1925,4 @@ var Client = (function () {
|
||||
return Client;
|
||||
})();
|
||||
|
||||
module.exports = Client;
|
||||
module.exports = Client;
|
||||
|
||||
@@ -10,4 +10,4 @@ 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";
|
||||
exports.CHANNELS = exports.API + "/channels";
|
||||
|
||||
@@ -18,4 +18,4 @@ var Member = (function (_User) {
|
||||
}
|
||||
|
||||
return Member;
|
||||
})(User);
|
||||
})(User);
|
||||
|
||||
@@ -68,4 +68,4 @@ var PMChannel = (function () {
|
||||
return PMChannel;
|
||||
})();
|
||||
|
||||
module.exports = PMChannel;
|
||||
module.exports = PMChannel;
|
||||
|
||||
@@ -45,4 +45,4 @@ var Permission = (function () {
|
||||
}]);
|
||||
|
||||
return Permission;
|
||||
})();
|
||||
})();
|
||||
|
||||
@@ -98,4 +98,4 @@ var Channel = (function () {
|
||||
return Channel;
|
||||
})();
|
||||
|
||||
module.exports = Channel;
|
||||
module.exports = Channel;
|
||||
|
||||
@@ -9,4 +9,4 @@ var Discord = {
|
||||
Client: Client
|
||||
};
|
||||
|
||||
module.exports = Discord;
|
||||
module.exports = Discord;
|
||||
|
||||
@@ -200,4 +200,4 @@ Internal.XHR.setUsername = function (token, avatar, email, newPassword, password
|
||||
});
|
||||
};
|
||||
|
||||
exports.Internal = Internal;
|
||||
exports.Internal = Internal;
|
||||
|
||||
@@ -32,4 +32,4 @@ var Invite = (function () {
|
||||
return Invite;
|
||||
})();
|
||||
|
||||
module.exports = Invite;
|
||||
module.exports = Invite;
|
||||
|
||||
@@ -76,4 +76,4 @@ var Message = (function () {
|
||||
return Message;
|
||||
})();
|
||||
|
||||
module.exports = Message;
|
||||
module.exports = Message;
|
||||
|
||||
@@ -180,4 +180,4 @@ var Server = (function () {
|
||||
return Server;
|
||||
})();
|
||||
|
||||
module.exports = Server;
|
||||
module.exports = Server;
|
||||
|
||||
@@ -54,4 +54,4 @@ var User = (function () {
|
||||
return User;
|
||||
})();
|
||||
|
||||
module.exports = User;
|
||||
module.exports = User;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"description": "A way to interface with the Discord API",
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
"prepublish" : "grunt dist",
|
||||
"test": "node ./test/bot.js"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
3879
web-dist/discord.3.6.3.js
Normal file
3879
web-dist/discord.3.6.3.js
Normal file
File diff suppressed because one or more lines are too long
2
web-dist/discord.min.3.6.3.js
Normal file
2
web-dist/discord.min.3.6.3.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user