mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +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) {
|
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) {
|
Server.prototype.rolesOfUser = function rolesOfUser(user) {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord.js",
|
"name": "discord.js",
|
||||||
"version": "5.2.0",
|
"version": "5.3.0",
|
||||||
"description": "A way to interface with the Discord API",
|
"description": "A way to interface with the Discord API",
|
||||||
"main": "./entrypoint.js",
|
"main": "./entrypoint.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,11 @@ export default class Server extends Equality {
|
||||||
}
|
}
|
||||||
|
|
||||||
detailsOfUser(user) {
|
detailsOfUser(user) {
|
||||||
return this.details(user);
|
return this.detailsOf(user);
|
||||||
|
}
|
||||||
|
|
||||||
|
details(user) {
|
||||||
|
return this.detailsOf(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
rolesOfUser(user) {
|
rolesOfUser(user) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue