home · contact · privacy
Improve help text.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 23 Apr 2016 07:46:19 +0000 (09:46 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 23 Apr 2016 07:46:19 +0000 (09:46 +0200)
plomlombot.py

index 42db076c6099fe7c8dd4983b7571a968e3ab5538..412ae2117aeb9fc73df1a105ed70014094e992f7 100755 (executable)
@@ -194,7 +194,7 @@ def handle_command(command, argument, notice, target, session):
     def markov():
 
         def help():
-            notice("syntax: !markov [int]")
+            notice("syntax: !markov [integer 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.