Cut title off after 100 chars instead of 75 chars

master
sfan5 2014-07-25 20:43:30 +02:00
parent d9318b8f53
commit 13c1c7c050
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ def title(phenny, input):
if not m:
return phenny.say("No title found.")
title = m.group(1).strip()
if len(title) > 75:
title = title[:75] + "[...]"
if len(title) > 100:
title = title[:100] + "[...]"
phenny.reply(title)
title.commands = ['title']