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
(from parent 1:
0bea5f9
)
Improve help text.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 23 Apr 2016 07:46:19 +0000
(09:46 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 23 Apr 2016 07:46:19 +0000
(09:46 +0200)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 42db076c6099fe7c8dd4983b7571a968e3ab5538..412ae2117aeb9fc73df1a105ed70014094e992f7 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-194,7
+194,7
@@
def handle_command(command, argument, notice, target, session):
def markov():
def help():
- notice("syntax: !markov [int]")
+ notice("syntax: !markov [int
eger from 1 to infinite
]")
def markov(snippet):
usable_selections = []
@@
-234,7
+234,7
@@
def handle_command(command, argument, notice, target, session):
selections = []
if not os.access(session.markovfile, os.F_OK):
- notice("not enough text to markov")
+ notice("not enough text to markov
for selection length
")
return
# Lowercase incoming lines, ensure they end in a sentence end mark.