more saves

This commit is contained in:
karl.hudgell 2020-06-21 14:10:28 +01:00
parent 5970188aa8
commit ceda2615bf

48
app.js
View File

@ -91,6 +91,17 @@ bot.on('message', (msg) => {
})
}
const SurfShark = "vpn (surfshark)";
if (msg.text.toString().toLowerCase().includes(SurfShark)) {
bot.sendMessage(msg.chat.id, "SurfShark is the VPN that we advise you use on your device to bypass the blocks,\n\nYou can install this on your device from our FileLinked\n\nWe provide a username and password for you to use in the updates groups. DO NOT SHARE THE DETAILS");
}
const flieLinked = "filelinked";
if (msg.text.toString().toLowerCase().includes(flieLinked)) {
bot.sendMessage(msg.chat.id, "Hope to see you around again , Bye");
}
}),
bot.onText(/^(\/start|Home)$/, (msg) => {
@ -105,7 +116,7 @@ bot.on('message', (msg) => {
})
bot.onText(/FAQ/, (msg) => {
bot.onText(/^FAQ$/, (msg) => {
bot.sendMessage(msg.chat.id, "Frequently Asked Questions")
.then(() => {
return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
@ -119,6 +130,27 @@ bot.onText(/FAQ/, (msg) => {
})
})
bot.onText(/Applications/, (msg) => {
bot.sendMessage(msg.chat.id, "We have a number of different applications that work with our subs, here is an overview of subs/apps colour coded by the icon in our FileLinked").then(() => {
return bot.sendMessage(msg.chat.id, "There are 2 new XCIPTV apps, Blue and Red.\nEach have 3 different sub DNS (URLs) already embedded in the players.").then(() => {
return bot.sendMessage(msg.chat.id, "Sky Q app (yellow player) this holds 4 of the room subs.").then(() => {
return bot.sendMessage(msg.chat.id, "All of the room subs play on the green smarters player", {
"reply_markup": {
"keyboard": [
["What app should I use?"],
["VPN (SurfShark)"],
["FileLinked"],
["Home"]
]
}
})
})
})
})
})
bot.onText(/^Subscriptions$/, (msg) => {
bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
@ -134,3 +166,17 @@ bot.onText(/^Subscriptions$/, (msg) => {
}
})
})
bot.onText(/FileLinked/, (msg) => {
bot.sendMessage(msg.chat.id, "Frequently Asked Questions")
.then(() => {
return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
"reply_markup": {
"keyboard": [
["Subscriptions", "IPTV"],
["Home"]
]
}
})
})
})