precache-fix
All checks were successful
deploy / deploy (push) Successful in 1m5s

This commit is contained in:
2023-12-19 18:13:37 +03:00
parent 531eb1f028
commit 95a237f349
8 changed files with 21 additions and 29 deletions

View File

@@ -42,6 +42,7 @@ async def get_all_authors() -> List[ChatMember]:
print(a)
authors_by_user[a["user"]] = a
authors_by_id[a["id"]] = a
print(f"[main] {len(authors)} authors precached")
return list(authors_by_id.values())