fix command handler issue

merge-requests/1/merge
Matthew 2019-10-27 22:35:43 -04:00
parent 5ae041c1c7
commit 663f87debd
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export default class {
if (resolved.permissions.roles) { if (resolved.permissions.roles) {
for (const role of resolved.permissions.roles) { for (const role of resolved.permissions.roles) {
if (message.member && message.member.roles.includes(role)) { if (message.member && message.member.roles.includes(role)) {
this.client.signale.debug(message.member.roles.includes(role));
hasRolePerms = true; break; hasRolePerms = true; break;
} }
} }