From: Christian Heller Date: Tue, 2 Feb 2016 07:11:35 +0000 (+0100) Subject: Shorten the default markov text length. X-Git-Url: https://plomlompom.com/repos/?p=plomlombot-irc.git;a=commitdiff_plain;h=25fcd7f13104e84fe5726757632019a62afa0c74 Shorten the default markov text length. --- diff --git a/plomlombot.py b/plomlombot.py index 8813498..11a8206 100755 --- a/plomlombot.py +++ b/plomlombot.py @@ -209,7 +209,7 @@ def handle_command(command, argument, notice, target): msg = "" while 1: new_end = markov(snippet) - if len(msg) + len(new_end) > 400: + if len(msg) + len(new_end) > 200: break msg += new_end + " " for i in range(select_length - 1):