From: Christian Heller Date: Sat, 23 Apr 2016 07:46:19 +0000 (+0200) Subject: Improve help text. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/unset_cookie?a=commitdiff_plain;h=ee64c72b59346940c29cf068dd7b1cb9425f332e;p=plomlombot-irc.git Improve help text. --- diff --git a/plomlombot.py b/plomlombot.py index 42db076..412ae21 100755 --- 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 [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.