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-10-05 21:50:52 +02:00
|
|
|
const blacklist = ['595100178915262464', '630127127450091521', '630128971576770580'];
|
2019-01-19 19:11:27 +01:00
|
|
|
return blacklist.includes(message.guild.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = serverblacklistInhibitor;
|