less checks
This commit is contained in:
parent
47306dac56
commit
1fc65fe2cf
4 changed files with 7 additions and 7 deletions
|
@ -14,12 +14,12 @@ module.exports = {
|
||||||
run: async (client, Message) => {
|
run: async (client, Message) => {
|
||||||
if (Message.author.bot) return;
|
if (Message.author.bot) return;
|
||||||
if (!Message.guild) 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')
|
// let UserFromDB = await db.blacklist(Message.author.id, 's')
|
||||||
if (UserFromDB.state) return;
|
//if (UserFromDB.state) return;
|
||||||
|
|
||||||
await eco.CalculateFromMessage(Message)
|
// await eco.CalculateFromMessage(Message)
|
||||||
// console.log(Message)
|
// console.log(Message)
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -20,7 +20,7 @@ module.exports = {
|
||||||
|
|
||||||
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
|
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
|
||||||
if (UserFromDB.state) return; */
|
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);
|
let Server = Servers.get(Message.guild.id);
|
||||||
|
|
|
@ -24,7 +24,7 @@ module.exports = {
|
||||||
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
|
/* let UserFromDB = await db.blacklist(Message.author.id, 's')
|
||||||
if (UserFromDB.state) return;
|
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 Server = Servers.get(Message.guild.id);
|
||||||
let Enabled;
|
let Enabled;
|
||||||
|
|
|
@ -38,7 +38,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
if (!EXISTS) return;
|
if (!EXISTS) return;
|
||||||
//console.log(topic.includesSetting('thaldrin.no-cmds', msg.channel.topic))
|
//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 args = msg.content.slice(PrefixArray[PREFIX].length).trim().split(/ +/g);
|
||||||
const command = args.shift().toLowerCase();
|
const command = args.shift().toLowerCase();
|
||||||
|
|
Loading…
Reference in a new issue