From 2ac38440da02239b9903324ed17b8e62b7cfb85b Mon Sep 17 00:00:00 2001 From: vrubel Date: Thu, 22 Jan 2026 16:25:33 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=D0=B8=20?= =?UTF-8?q?=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=E2=9C=85=20That's=20all=20=D0=B8=20=E2=8F=B3=20Processing=20re?= =?UTF-8?q?quest...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LichessClientTG_bot/bot.py | 18 ------------------ 1 file changed, 18 deletions(-) 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')