From fd812253fe9fed07a11642d308c88cb801367384 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 25 May 2025 21:36:41 -0400 Subject: [PATCH] Add response type to message --- app/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client.py b/app/client.py index f70d877..c21e7aa 100644 --- a/app/client.py +++ b/app/client.py @@ -134,7 +134,7 @@ async def leave_server(guild_id): @command async def get_status(websocket, request_id): # Return the status object - await websocket.send({"request_id": request_id, "status": client_status}) + await websocket.send({"type":"response", "request_id": request_id, "status": client_status}) @command async def run_task(websocket, task_id, duration_seconds):