This commit is contained in:
parent
fd9f3eefc8
commit
c7a7c13a35
1 changed files with 1 additions and 5 deletions
|
@ -889,16 +889,12 @@ while True:
|
|||
break
|
||||
else:
|
||||
try:
|
||||
print(i)
|
||||
print(i.strip().split(" ")[0])
|
||||
print(i.strip().split(" ")[0][0])
|
||||
if i.strip().split(" ")[0][0] == "#" and len(i.strip().split(" ")) == 1:
|
||||
if i.strip()[0] == "#" and i.strip()[1] == " ":
|
||||
print("Found title: " + i)
|
||||
title = True
|
||||
multiline("(" + nick + f") " + i.strip()[2:].strip(), channel)
|
||||
break
|
||||
except:
|
||||
print(traceback.format_exc())
|
||||
pass
|
||||
if not title and not redirected:
|
||||
multiline("(" + nick + ") [No title found]", channel)
|
||||
|
|
Loading…
Add table
Reference in a new issue