@@ -49,7 +49,7 @@ def check_if_required_env_variables_are_present():
49
49
"""The current leaderboard act"""
50
50
51
51
52
- leaderboard_ref = db .reference ("vitcc" ).child ("owasp" ).child (current_act )
52
+ leaderboard_ref = db .reference ("vitcc" ).child ("owasp" ).child (f"leaderboard-act { current_act } " )
53
53
54
54
# project_ref = base_ref.child("projects")
55
55
# certificate_ref = base_ref.child("certificates")
@@ -122,8 +122,8 @@ async def sum(ctx, numOne: int, numTwo: int):
122
122
123
123
@bot .command ()
124
124
@commands .has_any_role ("Cabinet Member" )
125
- async def add_data (ctx , name : str , rating : int = 0 , contributions : int = 0 ):
126
- f"""Add data to the leaderboard. Call it by { command_prefix } add_data "name" rating contribution"""
125
+ async def add_member (ctx , name : str , rating : int = 0 , contributions : int = 0 ):
126
+ f"""Add data to the leaderboard. Call it by { command_prefix } add_member "name" rating contribution"""
127
127
try :
128
128
data = leaderboard_ref .get ()
129
129
name = name .strip ()
@@ -201,6 +201,7 @@ async def add_recruits(ctx):
201
201
@bot .command ()
202
202
@commands .has_any_role ("Cabinet Member" )
203
203
async def set_points (ctx , name : str , rating = 0 , contributions = 0 ):
204
+ f"""Specifically set a member's points. Call it by { command_prefix } set_points "name" rating contribution"""
204
205
try :
205
206
data = leaderboard_ref .get ()
206
207
name = name .strip ()
0 commit comments