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:12:52 -08:00
parent bb2871fc77
commit 6a9d92e03d

View file

@ -870,6 +870,7 @@ while True:
title = False
redirected = False
for i in received.split("\n"):
try:
if firstline:
if i.split(" ")[0][0] == "3":
redirected = True
@ -892,6 +893,8 @@ while True:
title = True
multiline("(" + nick + f") " + i[2:], channel)
break
except:
pass
if not title and not redirected:
multiline("(" + nick + ") [No title found]", channel)
if not redirected: