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:21:39 -08:00
parent 738fe1d739
commit 657368fd77

View file

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