удалили сообщения ✅ That's all и ⏳ Processing request...
This commit is contained in:
parent
b3b6a54e2d
commit
2ac38440da
1 changed files with 0 additions and 18 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue