Add response type to message

This commit is contained in:
Logan Cusano
2025-05-25 21:36:41 -04:00
parent c2692dfcee
commit fd812253fe

View File

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