const { Inhibitor } = require('../../../interfaces/'); class Restricted extends Inhibitor { constructor(client) { super(client, { name: 'restricted', priority: 10, guarded: true }); } execute(message, command) { if(command.restricted && !this.client._options.bot.owners.includes(message.author.id)) { return super._fail(); } return super._succeed(); } } module.exports = Restricted;