Update sweebot.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-16 20:25:06 -08:00
parent 888625a802
commit b1d32c8192

View file

@ -889,12 +889,14 @@ while True:
break break
else: else:
try: 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) print("Found title: " + i)
title = True title = True
multiline("(" + nick + f") " + i[2:], channel) multiline("(" + nick + f") " + i[2:], channel)
break break
except: except:
print(i)
print(traceback.format_exc())
pass pass
if not title and not redirected: if not title and not redirected:
multiline("(" + nick + ") [No title found]", channel) multiline("(" + nick + ") [No title found]", channel)