From 8490abd97ae26cd1527384112d3906423c37facf Mon Sep 17 00:00:00 2001 From: Dalton Date: Thu, 6 Dec 2018 22:54:41 -0800 Subject: [PATCH] ...helps if i do the boolean right --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 4695851..5e1d11f 100644 --- a/bot.js +++ b/bot.js @@ -492,8 +492,8 @@ client.on('message', message => { // Dalton's image summon command. // Checks for banned author's using a hard coded list of discord ids. // Also rudely cleans garbage entries. - let banned_authors = ['steven once i find his id.']; - if (banned_authors.includes(message.author)) { + let banned_authors = ['143999140878090240']; + if (~banned_authors.includes(message.author)) { let messageSplit = message.content.substring(2).split(' '); if (messageSplit.length >= 2) {