working fileLinked

This commit is contained in:
karl.hudgell 2020-06-21 14:14:33 +01:00
parent ceda2615bf
commit 612dddd187

27
app.js
View File

@ -96,12 +96,6 @@ bot.on('message', (msg) => {
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) => {
@ -168,15 +162,12 @@ 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"]
]
}
})
})
})
bot.sendMessage(msg.chat.id, "The current FileLinked code is - 47054161\n\nYou can download all our players from there", {
"reply_markup": {
"keyboard": [
["Install FileLinked on FireStick", "Install FileLinked on Android"],
["Home"]
]
}
})
})