forked from rDrama/rDrama
add execute_under_siege to chat
parent
bf4b4da053
commit
b1cc17dd10
|
@ -86,6 +86,8 @@ def speak(data, v):
|
||||||
if not v.allowed_in_chat:
|
if not v.allowed_in_chat:
|
||||||
return '', 403
|
return '', 403
|
||||||
|
|
||||||
|
execute_under_siege(v, None, text, "chat")
|
||||||
|
|
||||||
image = None
|
image = None
|
||||||
if data['file']:
|
if data['file']:
|
||||||
name = f'/chat_images/{time.time()}'.replace('.','') + '.webp'
|
name = f'/chat_images/{time.time()}'.replace('.','') + '.webp'
|
||||||
|
|
Loading…
Reference in New Issue