mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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) {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user