latest
This commit is contained in:
parent
effd051761
commit
badee320c2
20
app.js
20
app.js
@ -148,6 +148,11 @@ bot.on('message', (msg) => {
|
||||
})
|
||||
}
|
||||
|
||||
const howToResetCache = "how do i clear cache?";
|
||||
if (msg.text.toString().toLowerCase().includes(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.onText(/^(\/start|Home)$/, (msg) => {
|
||||
@ -169,7 +174,9 @@ bot.onText(/^FAQ$/, (msg) => {
|
||||
return bot.sendMessage(msg.chat.id, "Please only ask an Admin, if you can't find the answer here..", {
|
||||
"reply_markup": {
|
||||
"keyboard": [
|
||||
["Subscriptions", "IPTV"],
|
||||
["Subscriptions"],
|
||||
["IPTV"],
|
||||
["Apps"],
|
||||
["Home"]
|
||||
]
|
||||
}
|
||||
@ -239,3 +246,14 @@ bot.onText(/^FileLinked$/, (msg) => {
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
bot.onText(/^Apps$/, (msg) => {
|
||||
bot.sendMessage(msg.chat.id, "Apps FAQ", {
|
||||
"reply_markup": {
|
||||
"keyboard": [
|
||||
["How do I clear cache?"],
|
||||
["Home"]
|
||||
]
|
||||
}
|
||||
})
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user