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 8813498594f0a3ca4d453a366eac6ea246154bc7..11a8206ab4691eaf500cedbb0873efeb532da561 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):