Merge branch 'newRemaster' of TelegramBots/BBLBTV_Suzie into master

This commit is contained in:
Karl 2020-06-30 08:31:06 -05:00 committed by Gogs
commit d12e764a6f

View File

@ -21,7 +21,7 @@ module.exports = {
},
appSwitch: (bot, msg, logger) => {
let string = ""
if (subArray.some(v => msg.text.toString().includes(v))) {
if (subArray.some(v => msg.text && msg.text.toString().includes(v))) {
var checkSub = msg.text.substring(2)
if (checkSub != "Home") {
subs.forEach(element => {