Separate staff roles and protect message delivery with operator guides
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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})")
|
||||
|
||||
# Создаем обычных пользователей
|
||||
|
||||
Reference in New Issue
Block a user