You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Haha-Yes/inhibitors/blacklist.js

16 lines
341 B
JavaScript

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;