From 738fe1d73957a898f53c285abfa3154bbed06a49 Mon Sep 17 00:00:00 2001 From: swee Date: Thu, 16 Jan 2025 20:16:54 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sweebot.py b/sweebot.py index d9dfab6..dd45e42 100644 --- a/sweebot.py +++ b/sweebot.py @@ -890,10 +890,15 @@ while True: else: try: if i.split(" ")[0][0] == "#" and not i.split(" ")[0][1] == "#": + print("Found title: " + i) title = True multiline("(" + nick + f") " + i[2:], channel) break + else: + print(i) except: + print(i) + print(traceback.format_exc()) pass if not title and not redirected: multiline("(" + nick + ") [No title found]", channel)