diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 9b12407dd..03df81bf8 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -582,6 +582,7 @@ CARP_ID = 0 AEVANN_ID = 0 GTIX_ID = 0 +SIGNUP_FOLLOW_ID = 0 CURRENCY_TRANSFER_ID = 5 IMMUNE_TO_NEGATIVE_AWARDS = {} @@ -806,7 +807,9 @@ elif SITE in {'watchpeopledie.tv', 'marsey.world'}: AEVANN_ID = 9 GTIX_ID = 77694 - CURRENCY_TRANSFER_ID = 48 + SIGNUP_FOLLOW_ID = CARP_ID + CURRENCY_TRANSFER_ID = CARP_ID + ANTISPAM_BYPASS_IDS = {1718156} TIER_TO_NAME = { diff --git a/files/routes/login.py b/files/routes/login.py index 2d76db530..efb7dc640 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -351,7 +351,13 @@ def sign_up_post(v): check_for_alts(new_user, include_current_session=True) send_notification(new_user.id, WELCOME_MSG) - if CARP_ID: + if SIGNUP_FOLLOW_ID: + signup_autofollow = get_account(SIGNUP_FOLLOW_ID) + new_follow = Follow(user_id=new_user.id, target_id=signup_autofollow.id) + g.db.add(new_follow) + signup_autofollow.stored_subscriber_count += 1 + g.db.add(signup_autofollow) + elif CARP_ID: send_notification(CARP_ID, f"A new user - @{new_user.username} - has signed up!") execute_blackjack(new_user, None, new_user.username, 'username')