master
Aevann1 2022-05-22 10:58:42 +02:00
parent 23d93b2f19
commit 8807ed0d13
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@ def speak(data, v):
if v.shadowbanned: if v.shadowbanned:
emit('speak', data) emit('speak', data)
elif blackjack and any(i in text.lower() for i in blackjack.split()):
emit('speak', data)
v.shadowbanned = 'AutoJanny'
g.db.add(v)
g.db.commit()
else: else:
emit('speak', data, broadcast=True) emit('speak', data, broadcast=True)
messages.append(data) messages.append(data)