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
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)