memberHasRole, membersWithRole

This commit is contained in:
abalabahaha
2016-01-29 17:02:40 -08:00
parent 2c8747995a
commit ee2172c1d5
8 changed files with 83 additions and 58 deletions

View File

@@ -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]);
}
}