Tick version

master
Outrun Colors 2022-09-24 15:36:56 -05:00
parent a2c746cc1c
commit 6b117decb8
No known key found for this signature in database
GPG Key ID: 0426976DCEFE6073
1 changed files with 1 additions and 4 deletions

View File

@ -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: