This commit is contained in:
Guy Van Sanden 2025-02-12 11:24:21 +01:00
parent 068af17935
commit 2302e9b166

View File

@ -35,7 +35,7 @@ def sendmessage(target, message):
responsejson = ws.recv() # Receive response
response = json.loads(responsejson)
for chatitem in response['resp']['chatItems']:
print(chatitem)
pprint(chatitem)
# print("Message %s sent over websocket to %s" % (chatitem['content'], target))
# ws.close() # Close WebSocket connection
# print(response)