This commit is contained in:
red 2025-12-05 13:51:20 +00:00
parent 9f58cf209f
commit e2722c098b
1 changed files with 2 additions and 2 deletions

View File

@ -161,14 +161,14 @@ async def main_loop():
while True:
try:
await process_chats()
await asyncio.sleep(10)
await asyncio.sleep(5)
except asyncio.CancelledError:
print("cancelled normally (ok knowing my luck the error is gonna be this one every single time even tho it never actually is an error like this!) cute puppy: Hiiii")
break
except Exception as e:
print(f"error {e}")
await asyncio.sleep(10)
await asyncio.sleep(5)
if __name__ == "__main__":
asyncio.run(main_loop())