forked from rDrama/rDrama
fix chat
parent
ee64a0e7fa
commit
7fa93bf783
|
@ -86,8 +86,6 @@ def speak(data, v):
|
|||
if not v.allowed_in_chat:
|
||||
return '', 403
|
||||
|
||||
execute_under_siege(v, None, text, "chat")
|
||||
|
||||
image = None
|
||||
if data['file']:
|
||||
name = f'/chat_images/{time.time()}'.replace('.','') + '.webp'
|
||||
|
@ -105,6 +103,8 @@ def speak(data, v):
|
|||
if isinstance(text_html , tuple):
|
||||
return text_html
|
||||
|
||||
execute_under_siege(v, None, text, "chat")
|
||||
|
||||
quotes = data['quotes']
|
||||
id = secrets.token_urlsafe(5)
|
||||
|
||||
|
|
Loading…
Reference in New Issue