Update speech.js

This commit is contained in:
MSFTserver 2017-10-27 14:38:46 -07:00 committed by GitHub
parent ba9e95945c
commit 13b67c5fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}