diff --git a/sweebot.py b/sweebot.py index efaad1f..859ddff 100644 --- a/sweebot.py +++ b/sweebot.py @@ -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]