Haha-Yes/inhibitors/blacklist.js

16 lines
385 B
JavaScript
Raw Normal View History

2018-12-30 01:20:24 +01:00
const { Inhibitor } = require('discord-akairo');
class BlacklistInhibitor extends Inhibitor {
constructor() {
super('blacklist', {
reason: 'blacklist'
})
}
exec(message) {
const blacklist = ['501856229123948545', '497730155691638784'];
return blacklist.includes(message.author.id);
}
}
module.exports = BlacklistInhibitor;