Archived
feat(bot): add async DB and FSM state handling
This commit is contained in:
@@ -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]}-*****-*****"
|
||||
|
||||
Reference in New Issue
Block a user