diff --git a/LichessClientTG_bot/bot.py b/LichessClientTG_bot/bot.py index bc344f2..64fd07a 100644 --- a/LichessClientTG_bot/bot.py +++ b/LichessClientTG_bot/bot.py @@ -943,12 +943,6 @@ class LichessBot: ) return - # Send initial message about processing - try: - await update.message.reply_text(t('stats_processing', lang), parse_mode='HTML') - except Exception: - pass - # Process each gamer has_any_activity = False for i, gamer in enumerate(gamers): @@ -1042,9 +1036,6 @@ class LichessBot: # If no activity for any player if not has_any_activity: await update.message.reply_text(t('no_activity', lang)) - else: - # Send final message that all is done - await update.message.reply_text(t('stats_all_done', lang)) # Increment counter for the period command if period == "today": @@ -1087,12 +1078,6 @@ class LichessBot: ) return - # Send initial message about processing - try: - await update.message.reply_text(t('last_year_1000_processing', lang), parse_mode='HTML') - except Exception: - pass - now_ms = int(time.time() * 1000) year_ms = 365 * 24 * 3600 * 1000 since_ms = now_ms - year_ms @@ -1141,9 +1126,6 @@ class LichessBot: # If no activity for any player if not has_any_activity: await update.message.reply_text(t('no_activity', lang)) - else: - # Send final message that all is done - await update.message.reply_text(t('stats_all_done', lang)) self.counters.increment('last_year_1000')