diff --git a/files/routes/admin.py b/files/routes/admin.py index bac91253b..e31af352e 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -150,21 +150,21 @@ def monthly(v): if u.patron == 1: grant_awards["shit"] = 1 - grant_awards["gold"] = 1 + grant_awards["stars"] = 1 elif u.patron == 2: grant_awards["shit"] = 3 - grant_awards["gold"] = 3 + grant_awards["stars"] = 3 elif u.patron == 3: grant_awards["shit"] = 5 - grant_awards["gold"] = 5 + grant_awards["stars"] = 5 grant_awards["ban"] = 1 elif u.patron == 4: grant_awards["shit"] = 10 - grant_awards["gold"] = 10 + grant_awards["stars"] = 10 grant_awards["ban"] = 3 elif u.patron == 5 or u.patron == 8: grant_awards["shit"] = 20 - grant_awards["gold"] = 20 + grant_awards["stars"] = 20 grant_awards["ban"] = 6 @@ -271,25 +271,25 @@ def badge_grant_post(v): if badge_id == 21: if user.discord_id: add_role(user, "1") grant_awards["shit"] = 1 - grant_awards["gold"] = 1 + grant_awards["stars"] = 1 elif badge_id == 22: if user.discord_id: add_role(user, "2") grant_awards["shit"] = 3 - grant_awards["gold"] = 3 + grant_awards["stars"] = 3 elif badge_id == 23: if user.discord_id: add_role(user, "3") grant_awards["shit"] = 5 - grant_awards["gold"] = 5 + grant_awards["stars"] = 5 grant_awards["ban"] = 1 elif badge_id in [24, 28]: if user.discord_id: add_role(user, "4") grant_awards["shit"] = 10 - grant_awards["gold"] = 10 + grant_awards["stars"] = 10 grant_awards["ban"] = 3 elif badge_id == 25: if user.discord_id: add_role(user, "5") grant_awards["shit"] = 20 - grant_awards["gold"] = 20 + grant_awards["stars"] = 20 grant_awards["ban"] = 6 if len(grant_awards): diff --git a/files/routes/awards.py b/files/routes/awards.py index fcb1e77e4..45ac15639 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -30,7 +30,7 @@ ACTIONS = { ALLOW_MULTIPLE = ( "ban", "shit", - "gold" + "stars" ) diff --git a/files/routes/settings.py b/files/routes/settings.py index c579774cc..3a32bc92a 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -305,25 +305,25 @@ def gumroad(v): if tier == 1: if v.discord_id: add_role(v, "1") grant_awards["shit"] = 1 - grant_awards["gold"] = 1 + grant_awards["stars"] = 1 elif tier == 2: if v.discord_id: add_role(v, "2") grant_awards["shit"] = 3 - grant_awards["gold"] = 3 + grant_awards["stars"] = 3 elif tier == 3: if v.discord_id: add_role(v, "3") grant_awards["shit"] = 5 - grant_awards["gold"] = 5 + grant_awards["stars"] = 5 grant_awards["ban"] = 1 elif tier == 4: if v.discord_id: add_role(v, "4") grant_awards["shit"] = 10 - grant_awards["gold"] = 10 + grant_awards["stars"] = 10 grant_awards["ban"] = 3 elif tier == 5 or tier == 8: if v.discord_id: add_role(v, "5") grant_awards["shit"] = 20 - grant_awards["gold"] = 20 + grant_awards["stars"] = 20 grant_awards["ban"] = 6 _awards = [] diff --git a/files/templates/submission.html b/files/templates/submission.html index 05c7578ce..48390a248 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -198,8 +198,8 @@ -{% if p.award_count("gold") %} -{% set sparkles = 10*p.award_count("gold") if p.award_count("gold") <= 5 else 50 %} +{% if p.award_count("stars") %} +{% set sparkles = 10*p.award_count("stars") if p.award_count("stars") <= 5 else 50 %}