Haha-Yes/event/inhibitors/serverblacklist.js

16 lines
328 B
JavaScript
Raw Normal View History

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) {
const blacklist = [];
return blacklist.includes(message.guild.id);
}
}
module.exports = serverblacklistInhibitor;