From eef98f563ce4ca4243205052f733523432fd11cd Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Sat, 30 Nov 2024 23:24:12 -0800 Subject: [PATCH] markov: fix help documentation * I had copy/pasted this from my discord-markov source and accidentally used the discord bot's terminology in one place. This is fixed. Signed-off-by: Alek Ratzloff --- plugins/markov.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/markov.py b/plugins/markov.py index 793b158..693651e 100644 --- a/plugins/markov.py +++ b/plugins/markov.py @@ -294,15 +294,15 @@ class Markov(Plugin): "`!markov help` - idiot", "`!markov force` - force markov to say something", "`!markov force username` - force markov to say something, using someone else's words", - "`!markov trigger` - synonym for `!markov force`", + "`!markov emulate` - synonym for `!markov force`", f"`!markov chance n` - set your reply chance to some number between 0.0 and {self.chain.reply_chance}", - "`!markov listen on|off` - tell markov to start or stop listening to what you say", + #"`!markov listen on|off` - tell markov to start or stop listening to what you say", "`!markov all` - force markov to say something based off of everything said in the server", "Also, kill yourself!", ] for line in lines: self.send_to(conn, channel, line) - case ["force"]: + case ["force"] | ["emulate"]: message = self.chain.generate(channel, who.nick) if message: self.send_to(conn, channel, f"{who.nick}: {message}")