diff --git a/send_ws.py b/send_ws.py deleted file mode 100644 index e794cf1..0000000 --- a/send_ws.py +++ /dev/null @@ -1,11 +0,0 @@ -import asyncio -import websockets -import json -import sys - -async def send_msg(msg): - async with websockets.connect('ws://localhost:8765') as ws: - await ws.send(json.dumps({'type':'chat_message','content':msg,'username':'antigravity'})) - -if __name__ == "__main__": - asyncio.run(send_msg(sys.argv[1]))