This commit is contained in:
Dragon Fire
2021-05-18 21:47:22 -04:00
parent 0666be4671
commit 2677101c0d
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class XiaoCommand extends Command {
}
hasPermission(msg, ownerOverride) {
if (ownerOverride && this.client.isOwner(msg.author)) return true;
if (this.client.isOwner(msg.author)) return true;
if (this.patronOnly && !this.client.patreon.isPatron(msg.author.id)) {
return stripIndents`
The \`${this.name}\` command can only be used by Patrons.