From 612dddd18708cb30ad4eb88bad5b2a23455c7946 Mon Sep 17 00:00:00 2001
From: "karl.hudgell" <karl.hudgell@bjss.com>
Date: Sun, 21 Jun 2020 14:14:33 +0100
Subject: [PATCH] working fileLinked

---
 app.js | 27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/app.js b/app.js
index e4681e4..2736b3a 100644
--- a/app.js
+++ b/app.js
@@ -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"]
-                    ]
-                }
-            })
-        })
-})
\ No newline at end of file
+    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"]
+            ]
+        }
+    })
+})