2018-12-30 01:20:24 +01:00
|
|
|
const { Inhibitor } = require('discord-akairo');
|
|
|
|
|
|
|
|
class BlacklistInhibitor extends Inhibitor {
|
2019-01-02 08:09:45 +01:00
|
|
|
constructor() {
|
|
|
|
super('blacklist', {
|
|
|
|
reason: 'blacklist'
|
|
|
|
});
|
|
|
|
}
|
2018-12-30 01:20:24 +01:00
|
|
|
|
2019-01-19 19:01:41 +01:00
|
|
|
async exec(message) {
|
2019-10-05 22:07:45 +02:00
|
|
|
const blacklist = ['501856229123948545', '497730155691638784', '29476879240658944', '530399670728392737', '595102888796356628', '342039250302140418', '319180626928336896', '476412819278004236'];
|
2019-01-02 08:09:45 +01:00
|
|
|
return blacklist.includes(message.author.id);
|
|
|
|
}
|
2018-12-30 01:20:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = BlacklistInhibitor;
|