forked from MarseyWorld/MarseyWorld
fds
parent
23d93b2f19
commit
8807ed0d13
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue