Update sweebot.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-12 20:34:47 -08:00
parent a45796883e
commit a3a0778048

View file

@ -892,8 +892,11 @@ while True:
break
if not title and not redirected:
multiline("(" + nick + ") [No title found]", channel)
if not redirected:
break
except Exception as ex:
exc = str(ex)
print(traceback.format_exc())
multiline("(" + nick + f") [Request error: {exc}]", channel)
elif "JOIN" in text and "#nixsanctuary" in text:
nick = text.split(":")[1].split("!")[0]