mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
Card Public
This commit is contained in:
@@ -24,10 +24,6 @@ module.exports = class CardCommand extends Command {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
hasPermission(msg) {
|
|
||||||
return this.client.isOwner(msg.author);
|
|
||||||
}
|
|
||||||
|
|
||||||
async run(msg, args) {
|
async run(msg, args) {
|
||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
|
|||||||
Reference in New Issue
Block a user