mirror of
https://github.com/yshtcn/DiaryAssistant_bot.git
synced 2026-03-15 06:46:31 +08:00
Squashed commit of the following:
commit d8cb43934c
Author: yshtcn <k.yshtcn+github@gmail.com>
Date: Mon Sep 25 21:08:39 2023 +0800
- 增加一次重试机会,以避免长时间的等待。
# Conflicts:
# Diary Assistant.py
This commit is contained in:
@@ -162,7 +162,6 @@ def main():
|
|||||||
updates = get_updates(last_update_id)
|
updates = get_updates(last_update_id)
|
||||||
if updates and "result" in updates:
|
if updates and "result" in updates:
|
||||||
|
|
||||||
|
|
||||||
print(f"Received updates: {updates}")
|
print(f"Received updates: {updates}")
|
||||||
for update in updates["result"]:
|
for update in updates["result"]:
|
||||||
Messagetype='message'
|
Messagetype='message'
|
||||||
|
|||||||
Reference in New Issue
Block a user