Skip to content

Commit

Permalink
fix(GuildMember): permissions.missing is not a function (#2118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewdcario authored and Gawdl3y committed Nov 18, 2017
1 parent 69b7d5d commit b274dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/GuildMember.js
Expand Up @@ -329,7 +329,7 @@ class GuildMember {
* @returns {PermissionResolvable[]}
*/
missingPermissions(permissions, explicit = false) {
return permissions.missing(permissions, explicit);
return this.permissions.missing(permissions, explicit);
}

/**
Expand Down

0 comments on commit b274dba

Please sign in to comment.