Update sweebridge.py
This commit is contained in:
parent
7591578349
commit
9127794c02
1 changed files with 4 additions and 1 deletions
|
@ -68,7 +68,10 @@ libera.connect_irc(
|
||||||
)
|
)
|
||||||
userlist = {}
|
userlist = {}
|
||||||
def hook(url:str, json:dict):
|
def hook(url:str, json:dict):
|
||||||
return requests.post(url=url, json=json)
|
try:
|
||||||
|
return requests.post(url=url, json=json)
|
||||||
|
except:
|
||||||
|
return False
|
||||||
def parse_content(text:str, platform:int, target:str):
|
def parse_content(text:str, platform:int, target:str):
|
||||||
# e = [
|
# e = [
|
||||||
# Text for use in IRC,
|
# Text for use in IRC,
|
||||||
|
|
Loading…
Reference in a new issue