new menu
This commit is contained in:
parent
39245fcb8d
commit
541c3c1c1e
136
app.js
136
app.js
@ -22,7 +22,7 @@ bot.on('message', (msg) => {
|
|||||||
bot.sendMessage(msg.chat.id, "Hope to see you again, Bye " + msg.from.first_name + ".");
|
bot.sendMessage(msg.chat.id, "Hope to see you again, Bye " + msg.from.first_name + ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
const subPrice = "subscription prices";
|
const subPrice = "-subscription prices";
|
||||||
if (msg.text.toString().toLowerCase() === subPrice) {
|
if (msg.text.toString().toLowerCase() === subPrice) {
|
||||||
bot.sendMessage(msg.chat.id, "PREMIUM PLUS ----£30\nVIP-----------------------£25\nOLD PREMIUM -----£17\nBLUEMOON ---------£15\nKDB --------------------£14\nGOLD ------------------£13\nTECHNOID -----------£13\nBRONZE --------------£10\nSOL ---------------------£10")
|
bot.sendMessage(msg.chat.id, "PREMIUM PLUS ----£30\nVIP-----------------------£25\nOLD PREMIUM -----£17\nBLUEMOON ---------£15\nKDB --------------------£14\nGOLD ------------------£13\nTECHNOID -----------£13\nBRONZE --------------£10\nSOL ---------------------£10")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -32,7 +32,7 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const howToSignUp = "how to get a subscription?";
|
const howToSignUp = "-how to get a subscription?";
|
||||||
if (msg.text.toString().toLowerCase() === howToSignUp) {
|
if (msg.text.toString().toLowerCase() === howToSignUp) {
|
||||||
bot.sendMessage(msg.chat.id, "To purchase a subscription you need to send a DM to any of the Admins in the group @Scotslad, @manclad72 or @bob_15.")
|
bot.sendMessage(msg.chat.id, "To purchase a subscription you need to send a DM to any of the Admins in the group @Scotslad, @manclad72 or @bob_15.")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -42,12 +42,12 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const suburls = "subscription urls";
|
const suburls = "-subscription urls";
|
||||||
if (msg.text.toString().toLowerCase() === suburls) {
|
if (msg.text.toString().toLowerCase() === suburls) {
|
||||||
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 multipleDevices = "can i stream on multiple devices?";
|
const multipleDevices = "-can i stream on multiple devices?";
|
||||||
if (msg.text.toString().toLowerCase() === multipleDevices) {
|
if (msg.text.toString().toLowerCase() === 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(() => {
|
||||||
@ -55,7 +55,7 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const updatesGroup = "updates group";
|
const updatesGroup = "-updates group";
|
||||||
if (msg.text.toString().toLowerCase() === updatesGroup) {
|
if (msg.text.toString().toLowerCase() === updatesGroup) {
|
||||||
bot.sendMessage(msg.chat.id, "The updates groups can be found here")
|
bot.sendMessage(msg.chat.id, "The updates groups can be found here")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -65,7 +65,7 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const installOnFire = "install filelinked on firestick";
|
const installOnFire = "-install filelinked on firestick";
|
||||||
if (msg.text.toString().toLowerCase() === installOnFire) {
|
if (msg.text.toString().toLowerCase() === installOnFire) {
|
||||||
bot.sendMessage(msg.chat.id, "Step 1:\n\nGo to Settings > device/my fire tv > developer options > apps from unknown sources on")
|
bot.sendMessage(msg.chat.id, "Step 1:\n\nGo to Settings > device/my fire tv > developer options > apps from unknown sources on")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -79,7 +79,7 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const installoOnAndroid = "install filelinked on android";
|
const installoOnAndroid = "-install filelinked on android";
|
||||||
if (msg.text.toString().toLowerCase() === installoOnAndroid) {
|
if (msg.text.toString().toLowerCase() === 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")
|
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(() => {
|
.then(() => {
|
||||||
@ -95,12 +95,12 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const SurfShark = "vpn (surfshark)";
|
const SurfShark = "-vpn (surfshark)";
|
||||||
if (msg.text.toString().toLowerCase() === SurfShark) {
|
if (msg.text.toString().toLowerCase() === 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");
|
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 iptvGuidance = "iptv guidance";
|
const iptvGuidance = "-iptv guidance";
|
||||||
if (msg.text.toString().toLowerCase() === iptvGuidance) {
|
if (msg.text.toString().toLowerCase() === iptvGuidance) {
|
||||||
bot.sendMessage(msg.chat.id, "🚨Basic IPTV Guidance🚨\n\nPlease see below some very basic IPTV guidance for those who are new to IPTV")
|
bot.sendMessage(msg.chat.id, "🚨Basic IPTV Guidance🚨\n\nPlease see below some very basic IPTV guidance for those who are new to IPTV")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -116,7 +116,7 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const iptvMaintenance = "basic iptv maintenance";
|
const iptvMaintenance = "-basic iptv maintenance";
|
||||||
if (msg.text.toString().toLowerCase() === iptvMaintenance) {
|
if (msg.text.toString().toLowerCase() === iptvMaintenance) {
|
||||||
bot.sendMessage(msg.chat.id, "🚨Basic IPTV Maintenance🚨\n\nReboot Router, Reboot Device.\nClear all app caches - Go to settings - Applications - Manage installed applications - click on app and select clear cache. Do this for all installed applications.")
|
bot.sendMessage(msg.chat.id, "🚨Basic IPTV Maintenance🚨\n\nReboot Router, Reboot Device.\nClear all app caches - Go to settings - Applications - Manage installed applications - click on app and select clear cache. Do this for all installed applications.")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -130,12 +130,12 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const doIneedVPN = "do i need a vpn?";
|
const doIneedVPN = "-do i need a vpn?";
|
||||||
if (msg.text.toString().toLowerCase() === doIneedVPN) {
|
if (msg.text.toString().toLowerCase() === doIneedVPN) {
|
||||||
bot.sendMessage(msg.chat.id, "You only need a VPN if your subscription isn't working at the time of use, normally only when the Football is on do the subs get blocked, if they do, connect using SurfShark using the details provided in the updates channel, DO NOT SHARE THESE DETAILS!");
|
bot.sendMessage(msg.chat.id, "You only need a VPN if your subscription isn't working at the time of use, normally only when the Football is on do the subs get blocked, if they do, connect using SurfShark using the details provided in the updates channel, DO NOT SHARE THESE DETAILS!");
|
||||||
}
|
}
|
||||||
|
|
||||||
const iptvBible = "iptv bible";
|
const iptvBible = "-iptv bible";
|
||||||
if (msg.text.toString().toLowerCase() === iptvBible) {
|
if (msg.text.toString().toLowerCase() === iptvBible) {
|
||||||
bot.sendMessage(msg.chat.id, "So the first thing I want to get out of the way is the stigma of download speeds and requirements for download speed. \r\n\r\nIn streaming like we do you will be just fine with at least 5mbps. I myself have streamed tethering off my phone with only 3mbps, but let\u2019s set the standard at 5mbps. If you have at least 5mbps and you are having issues with buffering, the download speed is not your problem. \r\n\r\nA lot of people seem to think that buffering is caused by low download speeds but that is just not true. \r\n\r\nLike I said above you can stream perfectly fine on 5mbps, in the same token you can have GB download speeds and have buffering issues.\r\n\r\nThere are a few things that will cause buffering.")
|
bot.sendMessage(msg.chat.id, "So the first thing I want to get out of the way is the stigma of download speeds and requirements for download speed. \r\n\r\nIn streaming like we do you will be just fine with at least 5mbps. I myself have streamed tethering off my phone with only 3mbps, but let\u2019s set the standard at 5mbps. If you have at least 5mbps and you are having issues with buffering, the download speed is not your problem. \r\n\r\nA lot of people seem to think that buffering is caused by low download speeds but that is just not true. \r\n\r\nLike I said above you can stream perfectly fine on 5mbps, in the same token you can have GB download speeds and have buffering issues.\r\n\r\nThere are a few things that will cause buffering.")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -151,69 +151,69 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const howToResetCache = "how do i clear cache?";
|
const howToResetCache = "-how do i clear cache?";
|
||||||
if (msg.text.toString().toLowerCase() === howToResetCache) {
|
if (msg.text.toString().toLowerCase() === howToResetCache) {
|
||||||
bot.sendMessage(msg.chat.id, "Cache files are main source of errors and problems in functioning of Apps, by clearing cache may solve most of the problems associated with Apps. To clear cache, go to Settings > Application > Manage apps > Select \"All\" tabs, select the app which was producing error and then tap Clear cache.");
|
bot.sendMessage(msg.chat.id, "Cache files are main source of errors and problems in functioning of Apps, by clearing cache may solve most of the problems associated with Apps. To clear cache, go to Settings > Application > Manage apps > Select \"All\" tabs, select the app which was producing error and then tap Clear cache.");
|
||||||
}
|
}
|
||||||
|
|
||||||
const whatAppShouldIUse = "what app should i use?";
|
const whatAppShouldIUse = "-what app should i use?";
|
||||||
if (msg.text.toString().toLowerCase() === whatAppShouldIUse) {
|
if (msg.text.toString().toLowerCase() === whatAppShouldIUse) {
|
||||||
bot.sendMessage(msg.chat.id, "What Subscription do you have?", {
|
bot.sendMessage(msg.chat.id, "What Subscription do you have?", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["VIP"],
|
["-VIP"],
|
||||||
["Premium Plus"],
|
["-Premium Plus"],
|
||||||
["Old Premium"],
|
["-Old Premium"],
|
||||||
["Gold"],
|
["-Gold"],
|
||||||
["Bronze"],
|
["-Bronze"],
|
||||||
["New Premium"],
|
["-New Premium"],
|
||||||
["KDB"],
|
["-KDB"],
|
||||||
["Technoid"],
|
["-Technoid"],
|
||||||
["Bluemoon"],
|
["-Bluemoon"],
|
||||||
["SOL"],
|
["-SOL"],
|
||||||
["Gambler"],
|
["-Gambler"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const vip = "vip"
|
const vip = "-vip"
|
||||||
const premiumPlus = "premium plus"
|
const premiumPlus = "-premium plus"
|
||||||
const oldPremium = "old premium"
|
const oldPremium = "-old premium"
|
||||||
if (msg.text.toString().toLowerCase() === vip || msg.text.toString().toLowerCase() === premiumPlus || msg.text.toString().toLowerCase() === oldPremium) {
|
if (msg.text.toString().toLowerCase() === vip || msg.text.toString().toLowerCase() === premiumPlus || msg.text.toString().toLowerCase() === oldPremium) {
|
||||||
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Blue\nSky Q Yellow\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Blue\nSky Q Yellow\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
||||||
}
|
}
|
||||||
|
|
||||||
const gold = "gold"
|
const gold = "-gold"
|
||||||
if (msg.text.toString().toLowerCase() === gold) {
|
if (msg.text.toString().toLowerCase() === gold) {
|
||||||
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Red\nSky Q Yellow\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Red\nSky Q Yellow\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
||||||
}
|
}
|
||||||
|
|
||||||
const bronze = "bronze"
|
const bronze = "-bronze"
|
||||||
if (msg.text.toString().toLowerCase() === bronze) {
|
if (msg.text.toString().toLowerCase() === bronze) {
|
||||||
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Red\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
bot.sendMessage(msg.chat.id, "You can use -\nXCIPTV Red\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
||||||
}
|
}
|
||||||
|
|
||||||
const newPremium = "new premium"
|
const newPremium = "-new premium"
|
||||||
const kdb = "kdb"
|
const kdb = "-kdb"
|
||||||
const technoid = "technoid"
|
const technoid = "-technoid"
|
||||||
const bluemoon = "bluemoon"
|
const bluemoon = "-bluemoon"
|
||||||
const sol = "sol"
|
const sol = "-sol"
|
||||||
const gambler = "gambler"
|
const gambler = "-gambler"
|
||||||
if ((msg.text.toString().toLowerCase() === newPremium) || (msg.text.toString().toLowerCase() === kdb) || (msg.text.toString().toLowerCase() === gambler) || (msg.text.toString().toLowerCase() === technoid) || (msg.text.toString().toLowerCase() === bluemoon) || (msg.text.toString().toLowerCase()===sol)) {
|
if ((msg.text.toString().toLowerCase() === newPremium) || (msg.text.toString().toLowerCase() === kdb) || (msg.text.toString().toLowerCase() === gambler) || (msg.text.toString().toLowerCase() === technoid) || (msg.text.toString().toLowerCase() === bluemoon) || (msg.text.toString().toLowerCase()===sol)) {
|
||||||
bot.sendMessage(msg.chat.id, "You can use -\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
bot.sendMessage(msg.chat.id, "You can use -\nSMARTERS Green\n\nAll can be downloaded from our FileLinked")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}),
|
}),
|
||||||
bot.onText(/^(\/start|\/help|Home)$/, (msg) => {
|
bot.onText(/^(\/start|\/help|-Home)$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "I'm " + name).then(() => {
|
bot.sendMessage(msg.chat.id, "I'm " + name).then(() => {
|
||||||
return bot.sendMessage(msg.chat.id, "I'm the " + channel + " Bot, and can answer your questions").then(() => {
|
return bot.sendMessage(msg.chat.id, "I'm the " + channel + " Bot, and can answer your questions").then(() => {
|
||||||
return bot.sendMessage(msg.chat.id, "Please use the buttons below to navigate", {
|
return bot.sendMessage(msg.chat.id, "Please use the buttons below to navigate", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["FAQ", "Applications"]
|
["-FAQ", "-Applications"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -222,33 +222,33 @@ bot.on('message', (msg) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
bot.onText(/^FAQ$/, (msg) => {
|
bot.onText(/^-FAQ$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "Frequently Asked Questions")
|
bot.sendMessage(msg.chat.id, "Frequently Asked Questions")
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
|
return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["Subscriptions"],
|
["-Subscriptions"],
|
||||||
["IPTV"],
|
["-IPTV"],
|
||||||
["Apps"],
|
["-Apps"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
bot.onText(/^Applications$/, (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(() => {
|
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, "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, "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", {
|
return bot.sendMessage(msg.chat.id, "All of the room subs play on the green smarters player", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["What app should I use?"],
|
["-What app should I use?"],
|
||||||
["VPN (SurfShark)"],
|
["-VPN (SurfShark)"],
|
||||||
["FileLinked"],
|
["-FileLinked"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -260,53 +260,53 @@ bot.onText(/^Applications$/, (msg) => {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
bot.onText(/^Subscriptions$/, (msg) => {
|
bot.onText(/^-Subscriptions$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "Subscription FAQ", {
|
bot.sendMessage(msg.chat.id, "Subscription FAQ", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["Subscription Prices"],
|
["-Subscription Prices"],
|
||||||
["How to get a subscription?"],
|
["-How to get a subscription?"],
|
||||||
["Subscription URLs", "Can I stream on multiple devices?"],
|
["-Subscription URLs", "-Can I stream on multiple devices?"],
|
||||||
["Updates Group"],
|
["-Updates Group"],
|
||||||
["Install FileLinked on FireStick", "Install FileLinked on Android"],
|
["-Install FileLinked on FireStick", "-Install FileLinked on Android"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
bot.onText(/^IPTV$/, (msg) => {
|
bot.onText(/^-IPTV$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "IPTV FAQ", {
|
bot.sendMessage(msg.chat.id, "IPTV FAQ", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["IPTV Guidance"],
|
["-IPTV Guidance"],
|
||||||
["Basic IPTV Maintenance"],
|
["-Basic IPTV Maintenance"],
|
||||||
["Do I need a VPN?"],
|
["-Do I need a VPN?"],
|
||||||
["IPTV Bible"],
|
["-IPTV Bible"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
bot.onText(/^FileLinked$/, (msg) => {
|
bot.onText(/^-FileLinked$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "The current FileLinked code is - " + process.env.FILELINKED_PIN + "\n\nYou can download all our players from there", {
|
bot.sendMessage(msg.chat.id, "The current FileLinked code is - " + process.env.FILELINKED_PIN + "\n\nYou can download all our players from there", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["Install FileLinked on FireStick", "Install FileLinked on Android"],
|
["-Install FileLinked on FireStick", "-Install FileLinked on Android"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
bot.onText(/^Apps$/, (msg) => {
|
bot.onText(/^-Apps$/, (msg) => {
|
||||||
bot.sendMessage(msg.chat.id, "Apps FAQ", {
|
bot.sendMessage(msg.chat.id, "Apps FAQ", {
|
||||||
"reply_markup": {
|
"reply_markup": {
|
||||||
"keyboard": [
|
"keyboard": [
|
||||||
["How do I clear cache?"],
|
["-How do I clear cache?"],
|
||||||
["Home"]
|
["-Home"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user