From a3a077804885e2ab4739a186bb7c61333276cb92 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 12 Jan 2025 20:34:47 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 3 +++ 1 file changed, 3 insertions(+) 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]