1
0
Fork 0

rm messageCreate issue

refactor/models
Matthew 2019-10-27 23:07:55 -04:00
parent 3addb4e71a
commit f59aa9dc1e
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ export default class {
let hasRolePerms: boolean = false;
if (resolved.permissions.roles) {
for (const role of resolved.permissions.roles) {
this.client.signale.debug(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;