From 657368fd77fe0110397951d278561fd76c8f2945 Mon Sep 17 00:00:00 2001 From: swee Date: Thu, 16 Jan 2025 20:21:39 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index dd45e42..739d1f2 100644 --- a/sweebot.py +++ b/sweebot.py @@ -889,7 +889,7 @@ while True: break else: try: - if i.split(" ")[0][0] == "#" and not i.split(" ")[0][1] == "#": + if i.split(" ")[0][0] == "#" and (len(i.split(" ")) == 1 or not i.split(" ")[0][1] != "#"): print("Found title: " + i) title = True multiline("(" + nick + f") " + i[2:], channel)