feat(bot): add async DB and FSM state handling

This commit is contained in:
2026-07-23 22:58:52 +05:00
parent b1c8f6d9f8
commit 87385228ea
28 changed files with 514 additions and 213 deletions
-6
View File
@@ -12,9 +12,3 @@ def describe_user(user: Any) -> str:
user_id = getattr(user, "id", user)
return f"пользователь={user_id}"
def mask_key(key: str) -> str:
if len(key) < 9:
return "***"
return f"{key[:5]}-*****-*****"