perms fix (@dedshot)

merge-requests/12/head
Matthew 2020-04-22 14:45:49 -04:00 committed by Bsian
parent 4f55e29094
commit c2085378dd
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 3 additions and 1 deletions

View File

@ -68,8 +68,10 @@ export default class Command {
case 4: case 4:
return member.roles.some((r) => ['701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); return member.roles.some((r) => ['701454780828221450', '701454855952138300', '662163685439045632'].includes(r));
case 5: case 5:
return member.roles.some((r) => ['701454855952138300', '662163685439045632'].includes(r)); return member.roles.some((r) => ['455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r));
case 6: case 6:
return member.roles.some((r) => ['701454855952138300', '662163685439045632'].includes(r));
case 7:
return member.roles.includes('662163685439045632'); return member.roles.includes('662163685439045632');
default: default:
return false; return false;