diff --git a/files/helpers/const.py b/files/helpers/const.py index 06da6ab0f..a55471c7a 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -317,8 +317,8 @@ elif SITE == 'watchpeopledie.co': LONGPOSTBOT_ID = 4 ZOZBOT_ID = 5 - GIFT_NOTIF_ID = 13 - CARP_ID = 13 + GIFT_NOTIF_ID = 9 + CARP_ID = 9 AEVANN_ID = 9 SNAKES_ID = 32 elif SITE == 'lgbdropthet.com': diff --git a/files/routes/chat.py b/files/routes/chat.py index 425c08e70..df11fbe77 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -2,6 +2,7 @@ import time from files.helpers.wrappers import auth_required from files.helpers.sanitize import sanitize from files.helpers.const import * +from files.helpers.alerts import * from files.helpers.regex import * from datetime import datetime from flask_socketio import SocketIO, emit @@ -66,6 +67,7 @@ def speak(data, v): emit('speak', data) v.shadowbanned = 'AutoJanny' g.db.add(v) + send_repeatable_notification(CARP_ID, f"{v.username} has been shadowbanned because of a chat message.") else: emit('speak', data, broadcast=True) messages.append(data)