mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 00:02:13 +00:00
Fix role.hasPermission docs
This commit is contained in:
parent
238a6824ef
commit
19f8f8e122
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -193,7 +193,7 @@ class Role {
|
|||
* if (role.hasPermission('BAN_MEMBERS')) {
|
||||
* console.log('This role can ban members');
|
||||
* } else {
|
||||
* console.log('This role can't ban members');
|
||||
* console.log('This role can\'t ban members');
|
||||
* }
|
||||
*/
|
||||
hasPermission(permission, explicit = false) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue