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