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)