From e6b708c4777b857e15254c7f2695c836ac7e468c Mon Sep 17 00:00:00 2001 From: Chuck Sneed Date: Mon, 26 Jun 2023 09:00:01 -0500 Subject: [PATCH] Add the badge --- files/helpers/cron.py | 2 +- files/routes/awards.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index a060800b5..2705fcec4 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -202,7 +202,7 @@ def _award_timers_task(): _process_timer(User.marseyawarded, [98], "The marsey award you received has expired!") _process_timer(User.rehab, [109], "The rehab award you received has expired!") _process_timer(User.owoify, [167], "The OwOify award you received has expired!") - _process_timer(User.sharpen, [], "The Sharpen award you received has expired!") #TODO: badge + _process_timer(User.sharpen, [289], "The Sharpen award you received has expired!") _process_timer(User.bite, [168], "The bite award you received has expired! You're now back in your original house!", { User.house: User.old_house, User.old_house: '', diff --git a/files/routes/awards.py b/files/routes/awards.py index 79f37b3f1..75bad66e5 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -556,7 +556,7 @@ def award_thing(v, thing_type, id): if author.sharpen: author.sharpen += 21600 else: author.sharpen = int(time.time()) + 21600 - # badge_grant(user=author, badge_id=167) #TODO: badge + badge_grant(user=author, badge_id=289) if thing_type == 'comment' and not thing.author.deflector: body = thing.body