Fixed server.detailsOf(user)

Now points to correct function
This commit is contained in:
Amish Shah
2015-12-26 18:16:42 +00:00
parent 3b7c5aa96a
commit 8e16abee96
3 changed files with 11 additions and 3 deletions

View File

@@ -153,7 +153,11 @@ var Server = (function (_Equality) {
};
Server.prototype.detailsOfUser = function detailsOfUser(user) {
return this.details(user);
return this.detailsOf(user);
};
Server.prototype.details = function details(user) {
return this.detailsOf(user);
};
Server.prototype.rolesOfUser = function rolesOfUser(user) {

View File

@@ -1,6 +1,6 @@
{
"name": "discord.js",
"version": "5.2.0",
"version": "5.3.0",
"description": "A way to interface with the Discord API",
"main": "./entrypoint.js",
"scripts": {

View File

@@ -93,7 +93,11 @@ export default class Server extends Equality {
}
detailsOfUser(user) {
return this.details(user);
return this.detailsOf(user);
}
details(user) {
return this.detailsOf(user);
}
rolesOfUser(user) {