mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
memberHasRole, membersWithRole
This commit is contained in:
@@ -106,4 +106,8 @@ export default class User extends Equality{
|
||||
getLogs() {
|
||||
return this.client.getChannelLogs.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
hasRole(role) {
|
||||
return this.client.memberHasRole.apply(this.client, [this, role]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user