comment blacklist stuff
This commit is contained in:
parent
adffee8a9b
commit
47306dac56
3 changed files with 4 additions and 13 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue