X-Git-Url: https://plomlompom.com/repos/?p=plomlombot-irc.git;a=blobdiff_plain;f=plomlombot.py;h=11a8206ab4691eaf500cedbb0873efeb532da561;hp=8813498594f0a3ca4d453a366eac6ea246154bc7;hb=25fcd7f13104e84fe5726757632019a62afa0c74;hpb=984dc257cdfb19549512958afc00f9ae057ecfb1 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):