less checks

This commit is contained in:
ry 2020-02-16 22:29:41 +01:00
parent 47306dac56
commit 1fc65fe2cf
4 changed files with 7 additions and 7 deletions

View file

@ -14,12 +14,12 @@ module.exports = {
run: async (client, Message) => {
if (Message.author.bot) return;
if (!Message.guild) return;
if (Message.author.id !== '318044130796109825') return;
//if (Message.author.id !== '318044130796109825') 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;
await eco.CalculateFromMessage(Message)
// await eco.CalculateFromMessage(Message)
// console.log(Message)
}
}

View file

@ -20,7 +20,7 @@ module.exports = {
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
if (UserFromDB.state) return; */
if (topic.includesSetting('thaldrin.no-SL', Message.channel.topic)) return;
//if (topic.includesSetting('thaldrin.no-SL', Message.channel.topic)) return;
let Server = Servers.get(Message.guild.id);

View file

@ -24,7 +24,7 @@ module.exports = {
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
if (UserFromDB.state) return;
*/
if (topic.includesSetting('thaldrin.no-SF', Message.channel.topic)) return;
//if (topic.includesSetting('thaldrin.no-SF', Message.channel.topic)) return;
let Server = Servers.get(Message.guild.id);
let Enabled;

View file

@ -38,7 +38,7 @@ module.exports = {
}
if (!EXISTS) return;
//console.log(topic.includesSetting('thaldrin.no-cmds', msg.channel.topic))
if (topic.includesSetting('thaldrin.no-cmd', msg.channel.topic)) return;
//if (topic.includesSetting('thaldrin.no-cmd', msg.channel.topic)) return;
const args = msg.content.slice(PrefixArray[PREFIX].length).trim().split(/ +/g);
const command = args.shift().toLowerCase();