mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Fixed server.detailsOf(user)
Now points to correct function
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user