forked from MarseyWorld/MarseyWorld
rename award bc of safari nonsense
parent
9cec07d1fb
commit
0e8738afeb
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue