This commit is contained in:
parent
2861afbb33
commit
572746b6f7
1 changed files with 2 additions and 2 deletions
|
@ -890,10 +890,10 @@ while True:
|
|||
else:
|
||||
try:
|
||||
print(i)
|
||||
if i.split(" ")[0][0] == "#" and len(i.split(" ")) == 1:
|
||||
if i.strip().split(" ")[0][0] == "#" and len(i.strip().split(" ")) == 1:
|
||||
print("Found title: " + i)
|
||||
title = True
|
||||
multiline("(" + nick + f") " + i[2:], channel)
|
||||
multiline("(" + nick + f") " + i.strip()[2:].strip(), channel)
|
||||
break
|
||||
except:
|
||||
print(traceback.format_exc())
|
||||
|
|
Loading…
Add table
Reference in a new issue