This commit is contained in:
karl.hudgell 2020-06-28 14:02:46 +01:00
orang tua 1a9f725e70
melakukan 57fefcaca1

6
app.js
Melihat File

@ -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";