diff --git a/cli/admin.py b/cli/admin.py index 144ec89a2..54c845f68 100644 --- a/cli/admin.py +++ b/cli/admin.py @@ -58,12 +58,13 @@ def list_admins( with GetDB() as db: admins: list[Admin] = crud.get_admins(db, offset=offset, limit=limit, username=username) utils.print_table( - table=Table("Username", 'Usage', 'Reseted usage', "Is sudo", + table=Table("Username", 'Usage', 'Reseted usage', "Users Usage", "Is sudo", "Created at", "Telegram ID", "Discord Webhook"), rows=[ (str(admin.username), calculate_admin_usage(admin.id), calculate_admin_reseted_usage(admin.id), + readable_size(admin.users_usage), "✔️" if admin.is_sudo else "✖️", utils.readable_datetime(admin.created_at), str(admin.telegram_id or "✖️"),