add execute_under_siege to chat

pull/225/head
Aevann 2024-03-09 19:08:03 +02:00
parent bf4b4da053
commit b1cc17dd10
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ 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'