From 13b67c5fac9012a38170033a5f6cf34f34fcd6b9 Mon Sep 17 00:00:00 2001 From: MSFTserver Date: Fri, 27 Oct 2017 14:38:46 -0700 Subject: [PATCH] Update speech.js --- bot/modules/speech.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/speech.js b/bot/modules/speech.js index 36bba00..2461b02 100644 --- a/bot/modules/speech.js +++ b/bot/modules/speech.js @@ -19,7 +19,7 @@ exports.speech = { description: "gets top claim from spee.ch, coming soon post to spee.ch", process: function(bot,msg,suffix){ var ChannelID = "373251793498406912" - if(hasSpeechChannels(msg) === false){ + if(!hasSpeechChannels(msg)){ msg.channel.send('Please use <#' + ChannelID + '> or DMs to talk to speech bot.'); return; }