From 0035ed9573ddaa7f67ef9216798b22c523a85296 Mon Sep 17 00:00:00 2001 From: "karl.hudgell" Date: Sun, 21 Jun 2020 13:45:51 +0100 Subject: [PATCH] clean ups --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 6cbd553..5c94b5d 100644 --- a/app.js +++ b/app.js @@ -10,7 +10,7 @@ bot.on('message', (msg) => { const hi = "hi"; if (msg.text.toString().toLowerCase().indexOf(hi) === 0) { - bot.sendMessage(msg.chat.id, "Hello " + msg.from.first_name + " Please type /start"); + bot.sendMessage(msg.chat.id, "Hello " + msg.from.first_name + " Please press /start"); } const bye = "bye"; @@ -43,8 +43,8 @@ bot.on('message', (msg) => { bot.sendMessage(msg.chat.id, "In this IPTV room we don't give out sub URLs or m3us. We have dedicated apps to play all subs on your Android box or IPTV player in our FileLinked."); } - const suburls = "can i stream on multiple devices?"; - if (msg.text.toString().toLowerCase().includes(suburls)) { + const multipleDevices = "can i stream on multiple devices?"; + if (msg.text.toString().toLowerCase().includes(multipleDevices)) { bot.sendMessage(msg.chat.id, "No. All subs sold is this room are one connection subs unless otherwise stated.\n\nThis means that you can have your sub loaded onto as many devices as you want (eg Android phone, tablet, Firestick, Android TV box) BUT you can only play the sub from one device at a time.") .then(() => { return bot.sendMessage(msg.chat.id, "Otherwise you may lose your sub altogether!")