Remove comment

This commit is contained in:
Logan Cusano
2025-05-25 22:06:16 -04:00
parent ea53f5da3d
commit 67e655eb90

View File

@@ -135,7 +135,7 @@ async def leave_server(guild_id):
@command
async def get_status(websocket, request_id):
# Return the status object
response_payload = {"status": client_status} # It's good practice to wrap the actual data in a 'payload' key
response_payload = {"status": client_status}
# Corrected line: Convert the dictionary to a JSON string before sending
await websocket.send(json.dumps({"type":"response", "request_id": request_id, "payload": response_payload}))