install on fire and android

This commit is contained in:
karl.hudgell 2020-06-21 13:57:35 +01:00
parent 0035ed9573
commit 5970188aa8

33
app.js
View File

@ -51,8 +51,7 @@ bot.on('message', (msg) => {
})
}
var updatesGroup = "updates group";
const updatesGroup = "updates group";
if (msg.text.toString().toLowerCase().includes(updatesGroup)) {
bot.sendMessage(msg.chat.id, "The updates groups can be found here")
.then(() => {
@ -62,6 +61,36 @@ bot.on('message', (msg) => {
})
}
const installOnFire = "install filelinked on firestick";
if (msg.text.toString().toLowerCase().includes(installOnFire)) {
bot.sendMessage(msg.chat.id, "Step 1:\n\nGo to Settings > device/my fire tv > developer options > apps from unknown sources on")
.then(() => {
return bot.sendMessage(msg.chat.id, "Step 2: download an app called downloader. (Orange icon)").then(() => {
return bot.sendMessage(msg.chat.id, "Step 3:\nOpen downloader and type in this address\nhttp://get.filelinked.com\nThen when it asks, install that app.").then(() => {
return bot.sendMessage(msg.chat.id, "Step 4:\nPress and hold home and then click on “Apps” and scroll to the bottom and click on the very last app and open it (filelinked).").then(() => {
return bot.sendMessage(msg.chat.id, "Step 5: Enter the filelinked code from the Updates page to get the list of apps for your sub")
})
})
})
})
}
const installoOnAndroid = "install filelinked on android";
if (msg.text.toString().toLowerCase().includes(installoOnAndroid)) {
bot.sendMessage(msg.chat.id, "First thing you need to do is go to browser on your Android TV box and enter www.filelinked.com")
.then(() => {
return bot.sendMessage(msg.chat.id, "From this browser page, download FileLinked.").then(() => {
return bot.sendMessage(msg.chat.id, "Once you have pressed download then you can close the browser and go to your apps.").then(() => {
return bot.sendMessage(msg.chat.id, "Then open file manager or file browser. In here go to downloads, filemanager, press install.").then(() => {
return bot.sendMessage(msg.chat.id, "Then go back to your apps section on the box and find filelinked app.").then(() => {
return bot.sendMessage(msg.chat.id, "Open the app and enter the code.")
})
})
})
})
})
}
}),
bot.onText(/^(\/start|Home)$/, (msg) => {