From 57fefcaca1bbc28f5bc16b89703184b399ccebca Mon Sep 17 00:00:00 2001 From: "karl.hudgell" Date: Sun, 28 Jun 2020 14:02:46 +0100 Subject: [PATCH] fix cache --- app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index c3f29dc..2a50710 100644 --- a/app.js +++ b/app.js @@ -210,7 +210,11 @@ bot.on('message', (msg) => { const howToResetCache = "- how do i clear cache?"; if (msg.text && msg.text.toString().toLowerCase() === howToResetCache) { logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Asked how to clear cache"); - bot.sendMessage(msg.chat.id, process.env.ADMIN_ID); + bot.sendMessage(msg.chat.id, `Cache files are main source of errors and problems in functioning of Apps. By clearing cache most of the problems associated with Apps will be solved. + +To clear cache, go to Settings on your device > Application > Manage apps > Select "All" tabs, select the app which was producing error and then tap Clear cache. + +Do not clear data, otherwise you will have to enter your sub details into the app again.`); } const whoAdmin = "who is an admin";