mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Fixed server.detailsOf(user)
Now points to correct function
This commit is contained in:
parent
3b7c5aa96a
commit
8e16abee96
3 changed files with 11 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue