sneed
parent
dc3dcc881f
commit
a9e355c804
|
@ -317,8 +317,8 @@ elif SITE == 'watchpeopledie.co':
|
||||||
LONGPOSTBOT_ID = 4
|
LONGPOSTBOT_ID = 4
|
||||||
ZOZBOT_ID = 5
|
ZOZBOT_ID = 5
|
||||||
|
|
||||||
GIFT_NOTIF_ID = 13
|
GIFT_NOTIF_ID = 9
|
||||||
CARP_ID = 13
|
CARP_ID = 9
|
||||||
AEVANN_ID = 9
|
AEVANN_ID = 9
|
||||||
SNAKES_ID = 32
|
SNAKES_ID = 32
|
||||||
elif SITE == 'lgbdropthet.com':
|
elif SITE == 'lgbdropthet.com':
|
||||||
|
|
|
@ -2,6 +2,7 @@ import time
|
||||||
from files.helpers.wrappers import auth_required
|
from files.helpers.wrappers import auth_required
|
||||||
from files.helpers.sanitize import sanitize
|
from files.helpers.sanitize import sanitize
|
||||||
from files.helpers.const import *
|
from files.helpers.const import *
|
||||||
|
from files.helpers.alerts import *
|
||||||
from files.helpers.regex import *
|
from files.helpers.regex import *
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from flask_socketio import SocketIO, emit
|
from flask_socketio import SocketIO, emit
|
||||||
|
@ -66,6 +67,7 @@ def speak(data, v):
|
||||||
emit('speak', data)
|
emit('speak', data)
|
||||||
v.shadowbanned = 'AutoJanny'
|
v.shadowbanned = 'AutoJanny'
|
||||||
g.db.add(v)
|
g.db.add(v)
|
||||||
|
send_repeatable_notification(CARP_ID, f"{v.username} has been shadowbanned because of a chat message.")
|
||||||
else:
|
else:
|
||||||
emit('speak', data, broadcast=True)
|
emit('speak', data, broadcast=True)
|
||||||
messages.append(data)
|
messages.append(data)
|
||||||
|
|
Loading…
Reference in New Issue