Webpack build for branch master: 82841c6ce1

This commit is contained in:
Travis CI 2017-09-24 16:43:45 +00:00
parent fc80d43a70
commit 2fcfa7a35c
2 changed files with 2 additions and 2 deletions

View file

@ -4990,7 +4990,7 @@ class GuildMember extends Base {
if (typeof checkAdmin === 'undefined') checkAdmin = !explicit;
if (typeof checkOwner === 'undefined') checkOwner = !explicit;
if (checkOwner && this.user.id === this.guild.ownerID) return true;
return this.roles.some(r => r.hasPermission(permission, undefined, checkAdmin));
return this.roles.some(r => r.permissions.has(permission, undefined, checkAdmin));
}
/**

File diff suppressed because one or more lines are too long