From e19b75f37fa5da7863699b1bc6951e4f2ffa3535 Mon Sep 17 00:00:00 2001 From: Dalton Date: Fri, 7 Dec 2018 17:44:53 -0800 Subject: [PATCH] banned authors is bad logic i guess --- bot.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.js b/bot.js index 81c7c04..24f7335 100644 --- a/bot.js +++ b/bot.js @@ -500,7 +500,7 @@ client.on('message', message => { // Checks for banned author's using a hard coded list of discord ids. // Also rudely cleans garbage entries. let banned_authors = ['143999140878090240', '517182806359801857']; - if (~banned_authors.includes(message.author)) { + //if (~banned_authors.includes(message.author)) { let messageSplit = message.content.substring(2).split(' '); if (messageSplit.length >= 2) { @@ -521,9 +521,9 @@ client.on('message', message => { message.channel.send('wut do i summon?'); } } - } else { - message.channel.send("You're a bad boi and a banned author, you can't summon til you learn to behave."); - } + //} else { + // message.channel.send("You're a bad boi and a banned author, you can't summon til you learn to behave."); + //} } catch (error) { //message.channel.send(error.stack); //message.channel.send(error.name);