diff --git a/structures/Command.js b/structures/Command.js index 9fc521f2..d0eae721 100644 --- a/structures/Command.js +++ b/structures/Command.js @@ -12,7 +12,8 @@ class XiaoCommand extends Command { } hasPermission(msg) { - super.hasPermission(msg); + const baseCheck = super.hasPermission(msg); + if (!baseCheck) return baseCheck; if (this.ownerOnly && !this.client.isOwner(msg.author)) { return `The \`${this.name}\` command can only be used by the bot owner.`; }