This commit is contained in:
Guy Van Sanden 2025-02-12 11:18:32 +01:00
parent f3ef9e55d5
commit 26b6b4cd98

View File

@ -33,6 +33,7 @@ def sendmessage(target, message):
ws.send(json_command) # Send message to WebSocket
responsejson = ws.recv() # Receive response
response = json.loads(responsejson)
print(response)
chatitems = response['resp']['chatitems']
for chatitem in chatitems:
print(chatitem)