fix command handler issue
parent
5ae041c1c7
commit
663f87debd
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue