mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +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')) {
|
* if (role.hasPermission('BAN_MEMBERS')) {
|
||||||
* console.log('This role can ban members');
|
* console.log('This role can ban members');
|
||||||
* } else {
|
* } else {
|
||||||
* console.log('This role can't ban members');
|
* console.log('This role can\'t ban members');
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
hasPermission(permission, explicit = false) {
|
hasPermission(permission, explicit = false) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue