This commit is contained in:
Guy Van Sanden 2025-02-12 11:19:36 +01:00
parent 26b6b4cd98
commit 761536274b
3 changed files with 20 additions and 2 deletions

5
server/Changelog Normal file
View File

@ -0,0 +1,5 @@
TellMe (1.3.0)
* Add support for mentions (-n)
TellMe (1.2.0)
* Feature complete version

14
server/package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "TellMe Server",
"version": "2.0.0b2",
"description": "TellMe Server",
"scripts": {
"dev": "webpack-dev-server --inline --hot"
},
"author": "Guy Van Sanden <guy@taurix.net>",
"license": "AGPL",
"dependencies": {
"grunt": "~0.4.5",
"grunt-version": "~1.1.0"
}
}

View File

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