Separate staff roles and protect message delivery with operator guides
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-09-13 21:00:53 +09:00
parent d5a9c13b68
commit 3c1a6a02a5
25 changed files with 916 additions and 548 deletions

View File

@@ -23,7 +23,7 @@ async def example_usage():
first_name="Администратор",
last_name="Бота"
)
await UserService.set_admin(session, 123456789, True)
# Staff roles are assigned by a system administrator through /staff.
print(f"✅ Создан админ: {admin.first_name} (@{admin.username})")
# Создаем обычных пользователей