mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Made hasPermission(s) docs a bit more consistent
This commit is contained in:
@@ -101,8 +101,8 @@ class Role {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the role includes the given permission
|
||||
* @param {PermissionResolvable} permission The name of the permission to test
|
||||
* Checks if the role has a permission.
|
||||
* @param {PermissionResolvable} permission The permission to check for
|
||||
* @param {boolean} [explicit=false] Whether to require the role to explicitly have the exact permission
|
||||
* @returns {boolean}
|
||||
* @example
|
||||
|
||||
Reference in New Issue
Block a user