From 133d2f5bfbfbf9f2277924b535f5674e858cf19a Mon Sep 17 00:00:00 2001 From: Gabriele De Rosa Date: Fri, 22 Jan 2021 03:46:42 +0100 Subject: [PATCH] Change schedule time Change schedule time from 10:00 to 18:00 --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 234d272..9b58fcf 100644 --- a/bot.py +++ b/bot.py @@ -236,7 +236,7 @@ def news(update, context): if news == "on": to_set = True set_msg = "Le notifiche giornaliere sono state correttamente abiitate.\n\n" - set_msg += "Riceverai i dati sul progresso della battaglia contro il Covid in Italia ogni giorno alle 10:00." + set_msg += "Riceverai i dati sul progresso della battaglia contro il Covid in Italia ogni giorno alle 18:00." elif news == "off": to_set = False @@ -352,7 +352,7 @@ start_handler = CommandHandler('news', news) dispatcher.add_handler(start_handler) # Setup cron -schedule.every().day.at("10:00").do(job) +schedule.every().day.at("18:00").do(job) # Start bot updater.start_polling()