home · contact · privacy
Shorten the default markov text length.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 2 Feb 2016 07:11:35 +0000 (08:11 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 2 Feb 2016 07:11:35 +0000 (08:11 +0100)
plomlombot.py

index 8813498..11a8206 100755 (executable)
@@ -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):