Fix loads of JSDoc type issues

This commit is contained in:
Schuyler Cebulskie
2016-11-12 20:52:37 -05:00
parent 318bb52c36
commit 90304aa7d6
13 changed files with 19 additions and 17 deletions

View File

@@ -256,7 +256,7 @@ class GuildMember {
* Checks whether the roles of the member allows them to perform specific actions, and lists any missing permissions.
* @param {PermissionResolvable[]} permissions The permissions to check for
* @param {boolean} [explicit=false] Whether to require the member to explicitly have the exact permissions
* @returns {array}
* @returns {PermissionResolvable[]}
*/
missingPermissions(permissions, explicit = false) {
return permissions.filter(p => !this.hasPermission(p, explicit));