mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
memberHasRole, membersWithRole
This commit is contained in:
@@ -95,6 +95,10 @@ var User = (function (_Equality) {
|
||||
return this.client.getChannelLogs.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
|
||||
};
|
||||
|
||||
User.prototype.hasRole = function hasRole(role) {
|
||||
return this.client.memberHasRole.apply(this.client, [this, role]);
|
||||
};
|
||||
|
||||
_createClass(User, [{
|
||||
key: "avatarURL",
|
||||
get: function get() {
|
||||
|
||||
Reference in New Issue
Block a user