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
|
break
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
print(i)
|
if i.strip()[0] == "#" and i.strip()[1] == " ":
|
||||||
print(i.strip().split(" ")[0])
|
|
||||||
print(i.strip().split(" ")[0][0])
|
|
||||||
if i.strip().split(" ")[0][0] == "#" and len(i.strip().split(" ")) == 1:
|
|
||||||
print("Found title: " + i)
|
print("Found title: " + i)
|
||||||
title = True
|
title = True
|
||||||
multiline("(" + nick + f") " + i.strip()[2:].strip(), channel)
|
multiline("(" + nick + f") " + i.strip()[2:].strip(), channel)
|
||||||
break
|
break
|
||||||
except:
|
except:
|
||||||
print(traceback.format_exc())
|
|
||||||
pass
|
pass
|
||||||
if not title and not redirected:
|
if not title and not redirected:
|
||||||
multiline("(" + nick + ") [No title found]", channel)
|
multiline("(" + nick + ") [No title found]", channel)
|
||||||
|
|
Loading…
Add table
Reference in a new issue