From 663f87debd9c130db66045d6f6a781827b662cfc Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 27 Oct 2019 22:35:43 -0400 Subject: [PATCH] fix command handler issue --- src/events/messageCreate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts index 3459c26..fc18b79 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -28,6 +28,7 @@ export default class { if (resolved.permissions.roles) { for (const role of resolved.permissions.roles) { if (message.member && message.member.roles.includes(role)) { + this.client.signale.debug(message.member.roles.includes(role)); hasRolePerms = true; break; } }