From b1ece3e87714dc3c6d887c507cbbfc2518365a9e Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 5 Jul 2022 01:01:41 -0400 Subject: [PATCH] pump messages out quicker --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8711dce..fb504cd 100644 --- a/main.py +++ b/main.py @@ -71,7 +71,7 @@ class bird_inst(): await self.ws.send(json.dumps({"type": "message", "data": {"message": msg}})) self.send_queue.remove(msg) print("shipped", msg) - await asyncio.sleep(.5) + await asyncio.sleep(.1) cfg = json.loads(open("config.json", "r").read()) bi = bird_inst("wss://deekchat.ml/ws", "https://deekchat.ml", cfg) print("yes hello birdchat here")