forked from MarseyWorld/MarseyWorld
Tick version
parent
a2c746cc1c
commit
6b117decb8
|
@ -58,8 +58,6 @@ def speak(data, v):
|
||||||
|
|
||||||
if not text: return '', 403
|
if not text: return '', 403
|
||||||
text_html = sanitize(text, count_marseys=True)
|
text_html = sanitize(text, count_marseys=True)
|
||||||
time_number = int(time.time())
|
|
||||||
time_string = timestamp(time_number)
|
|
||||||
data={
|
data={
|
||||||
"avatar": v.profile_url,
|
"avatar": v.profile_url,
|
||||||
"hat": v.hat_active,
|
"hat": v.hat_active,
|
||||||
|
@ -68,8 +66,7 @@ def speak(data, v):
|
||||||
"text": text,
|
"text": text,
|
||||||
"text_html": text_html,
|
"text_html": text_html,
|
||||||
"text_censored": censor_slurs(text_html, 'chat'),
|
"text_censored": censor_slurs(text_html, 'chat'),
|
||||||
"time": time_number,
|
"time": int(time.time()),
|
||||||
"timestamp": time_string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if v.shadowbanned:
|
if v.shadowbanned:
|
||||||
|
|
Loading…
Reference in New Issue