improve statistics linking

This commit is contained in:
Rykov7
2022-11-07 11:34:07 +03:00
parent 1d02bd5fe1
commit c47b588219
3 changed files with 11 additions and 13 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ def scheduler():
time.sleep(300)
@repeat(every().day.at('06:00'), PYTHONCHATRU, None)
@repeat(every().day.at('07:00'), PYTHONCHATRU, None)
def remind(chat_to_repeat, today):
""" Remind holiday. """
if not today:
@@ -39,7 +39,7 @@ def remind(chat_to_repeat, today):
bot.send_message(chat_to_repeat, notification, parse_mode='HTML')
@repeat(every().day.at('05:00'), PYTHONCHATRU)
@repeat(every().day.at('06:00'), PYTHONCHATRU)
def stat_report(chat_to_repeat):
bot.send_message(chat_to_repeat, report.create_report_text(),
parse_mode='HTML', disable_web_page_preview=True)