2019-01-19 19:11:27 +01:00
|
|
|
const { Inhibitor } = require('discord-akairo');
|
|
|
|
|
|
|
|
class serverblacklistInhibitor extends Inhibitor {
|
|
|
|
constructor() {
|
|
|
|
super('serverblacklist', {
|
|
|
|
reason: 'serverblacklist'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
async exec(message) {
|
2019-07-01 06:13:50 +02:00
|
|
|
const blacklist = ['595100178915262464'];
|
2019-01-19 19:11:27 +01:00
|
|
|
return blacklist.includes(message.guild.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = serverblacklistInhibitor;
|