mirror of
https://github.com/yshtcn/DiaryAssistant_bot.git
synced 2025-12-16 11:10:24 +08:00
- 增加一次重试机会,以避免长时间的等待。
This commit is contained in:
parent
54514c07a0
commit
9df2685f48
@ -154,6 +154,8 @@ def main():
|
|||||||
print("Program started") # Debugging line
|
print("Program started") # Debugging line
|
||||||
last_update_id = None
|
last_update_id = None
|
||||||
while True:
|
while True:
|
||||||
|
print("Process message queue...")
|
||||||
|
process_message_queue()
|
||||||
result = set_bot_commands()
|
result = set_bot_commands()
|
||||||
print(f"set menu:{result}")
|
print(f"set menu:{result}")
|
||||||
print("Checking for updates...") # Debugging line
|
print("Checking for updates...") # Debugging line
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user