temporary badge

pull/154/head
Chuck Sneed 2023-06-17 17:43:41 -05:00
parent eb02ef8077
commit ab0aa83ed2
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -209,7 +209,7 @@ def _award_timers_task():
_process_timer(User.earlylife, [169], "The earlylife award you received has expired!")
_process_timer(User.marsify, [170], "The marsify award you received has expired!")
_process_timer(User.rainbow, [171], "The rainbow award you received has expired!")
_process_timer(User.misogynist, [], "The misogynist award you received has expired!")
_process_timer(User.misogynist, [999], "The misogynist award you received has expired!")
_process_timer(User.spider, [179], "The spider award you received has expired!")
_process_timer(User.namechanged, [281], "The namelock award you received has expired. You're now back to your old username!", {
User.username: User.prelock_username,

View File

@ -328,7 +328,7 @@ def award_thing(v, thing_type, id):
if author.misogynist and time.time() < author.misogynist: author.misogynist += 86400
else: author.misogynist = int(time.time()) + 86400
# badge_grant(user=author, badge_id=58)
badge_grant(user=author, badge_id=999)
elif kind == "agendaposter":
if thing_type == 'post' and thing.sub == 'chudrama' \