16 lines
No EOL
348 B
JavaScript
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; |