remotes/1693045480750635534/spooky-22
Aevann1 2022-07-11 11:52:59 +02:00
parent dc3dcc881f
commit a9e355c804
2 changed files with 4 additions and 2 deletions

View File

@ -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':

View File

@ -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)