From b47e9c7e18440ea74df20d9844f04c7eefde806b Mon Sep 17 00:00:00 2001 From: TLSM Date: Sat, 9 Jul 2022 07:03:23 -0400 Subject: [PATCH] Fix bot ID constants for CT, WPD, LGB. seed-db.sql in a8fe49f232ca was changed to no longer have a System user to support the notifications rework. The default IDs in const.py were updated to reflect this. However, CT/WPD/LGB had user IDs from the pre-rework SQL yet were using default IDs. The constants were updated to reflect the state on prod. Strangely, LGB has no user id #2. I have no idea why, but the constants accurately reflect this fact. --- files/helpers/const.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/files/helpers/const.py b/files/helpers/const.py index dde5c245c..b22e1556b 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -274,6 +274,11 @@ elif SITE == 'cringetopia.org': HOLE_COST = 10000 + AUTOJANNY_ID = 2 + SNAPPY_ID = 3 + LONGPOSTBOT_ID = 4 + ZOZBOT_ID = 5 + GIFT_NOTIF_ID = 18 CARP_ID = 18 AEVANN_ID = 9 @@ -302,6 +307,11 @@ elif SITE == 'watchpeopledie.co': HOLE_STYLE_FLAIR = True HOLE_REQUIRED = True + AUTOJANNY_ID = 2 + SNAPPY_ID = 3 + LONGPOSTBOT_ID = 4 + ZOZBOT_ID = 5 + GIFT_NOTIF_ID = 13 CARP_ID = 13 AEVANN_ID = 9 @@ -316,6 +326,11 @@ elif SITE == 'lgbdropthet.com': PROCOINS_ENABLED = False PFP_DEFAULT_MARSEY = False + AUTOJANNY_ID = 1 + SNAPPY_ID = 3 + LONGPOSTBOT_ID = 4 + ZOZBOT_ID = 5 + AEVANN_ID = 10 SNAKES_ID = 9