Haha-Yes/event/inhibitors/serverblacklist.js
2019-07-01 06:13:50 +02:00

16 lines
No EOL
348 B
JavaScript

const { Inhibitor } = require('discord-akairo');
class serverblacklistInhibitor extends Inhibitor {
constructor() {
super('serverblacklist', {
reason: 'serverblacklist'
});
}
async exec(message) {
const blacklist = ['595100178915262464'];
return blacklist.includes(message.guild.id);
}
}
module.exports = serverblacklistInhibitor;