forked from engineering/cloudservices
rm messageCreate issue
parent
3addb4e71a
commit
f59aa9dc1e
|
@ -25,7 +25,6 @@ export default class {
|
||||||
let hasRolePerms: boolean = false;
|
let hasRolePerms: boolean = false;
|
||||||
if (resolved.permissions.roles) {
|
if (resolved.permissions.roles) {
|
||||||
for (const role of 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)) {
|
if (message.member && message.member.roles.includes(role)) {
|
||||||
// this.client.signale.debug(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