forked from rDrama/rDrama
1
0
Fork 0

give new user notifs to 3 jannies in PCM

master
Aevann1 2022-12-19 22:32:21 +02:00
parent 62f94f8eaf
commit e217cc9758
1 changed files with 4 additions and 2 deletions

View File

@ -335,8 +335,10 @@ def sign_up_post(v:Optional[User]):
send_notification(signup_autofollow.id, f"A new user - @{new_user.username} - has followed you automatically!")
elif CARP_ID:
send_notification(CARP_ID, f"A new user - @{new_user.username} - has signed up!")
if JUSTCOOL_ID:
send_notification(JUSTCOOL_ID, f"A new user - @{new_user.username} - has signed up!")
if SITE == 'pcmemes.net':
for id in [1706, 1550, 1701]:
send_notification(id, f"A new user - @{new_user.username} - has signed up!")
redir = request.values.get("redirect", "").strip().rstrip('?').lower()
if redir: