Skip to content

Commit

Permalink
Default to longer lines when splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
lepinkainen committed May 10, 2016
1 parent 8525327 commit 634ca9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyfibot/modules/module_urltitle.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ def _title(bot, channel, title, smart=False, prefix=None, url=None):
info = title[1]
title = title[0]
# crop obscenely long titles
if len(title) > 200:
title = title[:200] + "..."
if len(title) > 400:
title = title[:400] + "..."

if not info:
return bot.say(channel, "%s %s" % (prefix, title))
Expand Down

0 comments on commit 634ca9b

Please sign in to comment.