This commit is contained in:
Erik 2022-05-11 14:14:38 +03:00
parent d066818e36
commit 5ee85f3b56
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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) {