forked from rDrama/rDrama
fdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
1e471759df
|
@ -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)
|
||||||
|
|
|
@ -1367,7 +1367,7 @@ def submit_post(v, sub=None):
|
||||||
if body.startswith('!slots'):
|
if body.startswith('!slots'):
|
||||||
check_for_slots_command(body, snappy, c)
|
check_for_slots_command(body, snappy, c)
|
||||||
|
|
||||||
if body.startswith(':#marseypin'):
|
if body.startswith(':#marseypin:') or body.startswith(':#marseypin2:'):
|
||||||
post.stickied = "Snappy"
|
post.stickied = "Snappy"
|
||||||
post.stickied_utc = int(time.time()) + 3600
|
post.stickied_utc = int(time.time()) + 3600
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue