forked from Supositware/Haha-Yes
Added server blacklist
parent
fb68b205a6
commit
1547eb1798
@ -0,0 +1,16 @@
|
|||||||
|
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;
|
Loading…
Reference in New Issue