home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984dc25
)
Shorten the default markov text length.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 2 Feb 2016 07:11:35 +0000
(08:11 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 2 Feb 2016 07:11:35 +0000
(08:11 +0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 8813498594f0a3ca4d453a366eac6ea246154bc7..11a8206ab4691eaf500cedbb0873efeb532da561 100755
(executable)
--- 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) >
4
00:
+ if len(msg) + len(new_end) >
2
00:
break
msg += new_end + " "
for i in range(select_length - 1):