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 <alekratz@gmail.com>
This commit is contained in:
2024-11-30 23:24:12 -08:00
parent 6b73cccda0
commit eef98f563c

View File

@@ -294,15 +294,15 @@ class Markov(Plugin):
"`!markov help` - idiot", "`!markov help` - idiot",
"`!markov force` - force markov to say something", "`!markov force` - force markov to say something",
"`!markov force username` - force markov to say something, using someone else's words", "`!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}", 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", "`!markov all` - force markov to say something based off of everything said in the server",
"Also, kill yourself!", "Also, kill yourself!",
] ]
for line in lines: for line in lines:
self.send_to(conn, channel, line) self.send_to(conn, channel, line)
case ["force"]: case ["force"] | ["emulate"]:
message = self.chain.generate(channel, who.nick) message = self.chain.generate(channel, who.nick)
if message: if message:
self.send_to(conn, channel, f"{who.nick}: {message}") self.send_to(conn, channel, f"{who.nick}: {message}")