1
0
Fork 0

fix command handler issue

refactor/models
Matthew 2019-10-27 22:52:22 -04:00
parent 0f38580f1d
commit 9bf9440f68
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 0 additions and 3 deletions

View File

@ -36,9 +36,6 @@ export default class {
hasUserPerms = true; hasUserPerms = true;
hasRolePerms = true; hasRolePerms = true;
} }
this.client.signale.debug('---');
this.client.signale.debug(hasUserPerms);
this.client.signale.debug(hasRolePerms);
if (!hasRolePerms && !hasUserPerms) return; if (!hasRolePerms && !hasUserPerms) return;
if (!resolved.enabled) { message.channel.createMessage(`***${this.client.stores.emojis.error} This command has been disabled***`); return; } if (!resolved.enabled) { message.channel.createMessage(`***${this.client.stores.emojis.error} This command has been disabled***`); return; }
const args: string[] = noPrefix.slice(1); const args: string[] = noPrefix.slice(1);