Add badge for Checkmark award users.

master
Snakes 2022-07-02 21:34:32 -04:00
parent 0fc646967f
commit 33815d8365
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ def award_thing(v, thing_type, id):
badge_grant(user=author, badge_id=128)
elif kind == "checkmark":
author.verified = "Verified"
badge_grant(user=author, badge_id=150)
if author.received_award_count: author.received_award_count += 1
else: author.received_award_count = 1