clean ups
This commit is contained in:
parent
a57a0628c0
commit
0035ed9573
6
app.js
6
app.js
@ -10,7 +10,7 @@ bot.on('message', (msg) => {
|
|||||||
|
|
||||||
const hi = "hi";
|
const hi = "hi";
|
||||||
if (msg.text.toString().toLowerCase().indexOf(hi) === 0) {
|
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";
|
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.");
|
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?";
|
const multipleDevices = "can i stream on multiple devices?";
|
||||||
if (msg.text.toString().toLowerCase().includes(suburls)) {
|
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.")
|
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(() => {
|
.then(() => {
|
||||||
return bot.sendMessage(msg.chat.id, "Otherwise you may lose your sub altogether!")
|
return bot.sendMessage(msg.chat.id, "Otherwise you may lose your sub altogether!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user