rename award bc of safari nonsense

master
Aevann 2024-07-22 21:51:25 +03:00
parent 9cec07d1fb
commit 0e8738afeb
2 changed files with 3 additions and 3 deletions

View File

@ -981,8 +981,8 @@ AWARDS = {
"negative": False,
"included_in_lootbox": False,
},
"pride": {
"kind": "pride",
"lgbt": {
"kind": "lgbt",
"title": "Pride",
"description": "Permanently glams up the recipient's name, showing lifelong support for the LGBTQIA+ community.",
"icon": "fas fa-heart",

View File

@ -337,7 +337,7 @@ def award_thing(v, thing_type, id):
abort(409, f"{safe_username} already has this profile upgrade!")
author.verified = "Verified"
badge_grant(user=author, badge_id=150)
elif kind == "pride":
elif kind == "lgbt":
if author.has_badge(303):
abort(409, f"{safe_username} already has this profile upgrade!")
badge_grant(user=author, badge_id=303)