Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .test.env
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ ROLE_ACADEMY_CWEE=1257697240949167235
ROLE_ACADEMY_CAPE=1318971191586979861
ROLE_ACADEMY_CJCA=1400475445455224902
ROLE_ACADEMY_CWPE=1466407288758599821
ROLE_ACADEMY_COAE=1491875933756330015

ROLE_UNICTF2022=6148613121047893215

Expand Down
4 changes: 4 additions & 0 deletions scripts/seed_dynamic_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
"cert_full_name": "HTB Certified Wi-Fi Pentesting Expert",
"cert_integer_id": 8,
}),
("ACADEMY_COAE", RoleCategory.ACADEMY_CERT, "COAE", "Certified Offensive AI Expert", {
"cert_full_name": "HTB Certified Offensive AI Expert",
"cert_integer_id": 9,
}),
]

# Joinable roles: multiple display names can share the same env var / discord_role_id.
Expand Down
1 change: 1 addition & 0 deletions src/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class Roles(BaseSettings):
ACADEMY_CAPE: Optional[int] = None
ACADEMY_CJCA: Optional[int] = None
ACADEMY_CWPE: Optional[int] = None
ACADEMY_COAE: Optional[int] = None
# Joinable roles
UNICTF2022: Optional[int] = None
BIZCTF2022: Optional[int] = None
Expand Down
1 change: 1 addition & 0 deletions src/services/role_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"ACADEMY_CAPE": (RoleCategory.ACADEMY_CERT, "CAPE"),
"ACADEMY_CJCA": (RoleCategory.ACADEMY_CERT, "CJCA"),
"ACADEMY_CWPE": (RoleCategory.ACADEMY_CERT, "CWPE"),
"ACADEMY_COAE": (RoleCategory.ACADEMY_CERT, "COAE"),
}


Expand Down