From b1d32c8192671ad739637fbeb2631eb361fd1636 Mon Sep 17 00:00:00 2001 From: swee Date: Thu, 16 Jan 2025 20:25:06 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 9814b65..8cae65b 100644 --- a/sweebot.py +++ b/sweebot.py @@ -889,12 +889,14 @@ while True: break else: try: - if i.split(" ")[0][0] == "#" and (len(i.split(" ")) == 1 or not i.split(" ")[0][1] != "#"): + if i.split(" ")[0][0] == "#" and len(i.split(" ")) == 1: print("Found title: " + i) title = True multiline("(" + nick + f") " + i[2:], channel) break except: + print(i) + print(traceback.format_exc()) pass if not title and not redirected: multiline("(" + nick + ") [No title found]", channel)