comment blacklist stuff

This commit is contained in:
ry 2020-02-16 22:27:14 +01:00
parent adffee8a9b
commit 47306dac56
3 changed files with 4 additions and 13 deletions

View file

@ -18,8 +18,8 @@ module.exports = {
run: async (client, Message) => {
if (Message.author.bot) return;
let UserFromDB = await db.blacklist(Message.author.id, 's')
if (UserFromDB.state) return;
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
if (UserFromDB.state) return; */
if (topic.includesSetting('thaldrin.no-SL', Message.channel.topic)) return;

View file

@ -21,9 +21,9 @@ module.exports = {
run: async (client, Message) => {
if (Message.author.bot) return;
let UserFromDB = await db.blacklist(Message.author.id, 's')
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
if (UserFromDB.state) return;
*/
if (topic.includesSetting('thaldrin.no-SF', Message.channel.topic)) return;
let Server = Servers.get(Message.guild.id);

View file

@ -20,15 +20,6 @@ module.exports = {
name: 'message',
run: async (client, msg) => {
if (msg.author.bot) return;
//if (msg.author.id !== '318044130796109825') return;
//console.log(msg.author.tag)
/*
let UserFromDB = await db.blacklist(msg.author.id, 's')
if (UserFromDB.state) return;
*/
// WHY WON'T YOU WORK
const DefaultPrefix = client.config.prefixes;
const CustomPrefix = Servers.get(msg.guild.id);