diff --git a/sweebot.py b/sweebot.py index 0763e23..2265af4 100644 --- a/sweebot.py +++ b/sweebot.py @@ -874,12 +874,12 @@ while True: else: firstline = False else: - elif i.split(" ")[0][0] == "#": + if i.split(" ")[0][0] == "#": title = True multiline("(" + nick + f") " + i[2:], channel) break if not title: - multiline("(" + nick + f") [No title found]", channel) + multiline("(" + nick + ") [No title found]", channel) elif "JOIN" in text and "#nixsanctuary" in text: nick = text.split(":")[1].split("!")[0] if not "Meow" in nick: