Cut title off after 100 chars instead of 75 chars
parent
d9318b8f53
commit
13c1c7c050
4
title.py
4
title.py
|
@ -29,8 +29,8 @@ def title(phenny, input):
|
||||||
if not m:
|
if not m:
|
||||||
return phenny.say("No title found.")
|
return phenny.say("No title found.")
|
||||||
title = m.group(1).strip()
|
title = m.group(1).strip()
|
||||||
if len(title) > 75:
|
if len(title) > 100:
|
||||||
title = title[:75] + "[...]"
|
title = title[:100] + "[...]"
|
||||||
phenny.reply(title)
|
phenny.reply(title)
|
||||||
|
|
||||||
title.commands = ['title']
|
title.commands = ['title']
|
||||||
|
|
Loading…
Reference in New Issue