forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
d066818e36
commit
5ee85f3b56
@ -35,7 +35,7 @@ class MemberWrapper {
|
||||
}
|
||||
|
||||
async isAdmin() {
|
||||
return (await this.userWrapper()).developer || this.permissions.missing(['ADMINISTRATOR', 'MANAGE_GUILD']).length === 2;
|
||||
return (await this.userWrapper()).developer || this.permissions.any(['ADMINISTRATOR', 'MANAGE_GUILD']);
|
||||
}
|
||||
|
||||
timeout(...opts) {
|
||||
|
Loading…
Reference in New Issue
Block a user