mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user