Use new badge id

pull/154/head
Chuck Sneed 2023-06-21 07:25:31 -05:00
parent 34f3a8677e
commit 80c390ced0
4 changed files with 2 additions and 3 deletions

Binary file not shown.

Before

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.queen, [999], "The queen award you received has expired!", {
_process_timer(User.queen, [285], "The queen award you received has expired!", {
User.username: User.prelock_username,
User.prelock_username: None,
})

View File

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

View File

@ -243,7 +243,6 @@ INSERT INTO public.badge_defs VALUES (282, 'Rehab Counselor', 'Awarded for parti
INSERT INTO public.badge_defs VALUES (283, 'Summer Fun', 'Awarded for contributing to the Marsey''s Summer Fun event', 1685121838);
INSERT INTO public.badge_defs VALUES (284, 'In Memoriam Theodroa', 'When God calls one of His most blessed angels home, the heavens rejoice while we are left behind to weep with the rain.', 1686502188);
INSERT INTO public.badge_defs VALUES (285, 'Queen', 'This user SLAYS 💅👠💄', 1687282987);
INSERT INTO public.badge_defs VALUES (999, 'Queen', 'This incel is metamorphosizing', 1686502188);
-- Name: badge_defs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--