From 7591578349bed9c1faff3f9bb516b2dda07f908f Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 8 Jan 2025 13:52:18 -0800 Subject: [PATCH] Update sweebridge.py --- sweebridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebridge.py b/sweebridge.py index 050aa1e..f227ee1 100644 --- a/sweebridge.py +++ b/sweebridge.py @@ -68,7 +68,7 @@ libera.connect_irc( ) userlist = {} def hook(url:str, json:dict): - threading.Thread(target=requests.post, kwargs={"url": url, "json": json}).start() + return requests.post(url=url, json=json) def parse_content(text:str, platform:int, target:str): # e = [ # Text for use in IRC,