Skip to content

Commit 7f36b61

Browse files
Made VIP Checking rank number based.
1 parent 8c075d9 commit 7f36b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def ParseGroupsInfo(GroupsInfo):
4646
if group_id == nova_group_id:
4747
result["Clearance"] = group_info["role"]["name"]
4848
result["ClearanceID"] = group_info["role"]["rank"]
49-
result["IsVIP"] = group_info["role"]["name"] in ["Class - A", "Class - O", "Class - X"]
49+
result["IsVIP"] = group_info["role"]["rank"]>=6
5050
InNova = True
5151

5252
if group_id in department_group_ids:

0 commit comments

Comments
 (0)