Commit Graph

5 Commits

Author SHA1 Message Date
1b4084322b Fix markov import tool to use the new plugin API
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-30 17:16:22 -07:00
6a1ed5c372 Add random reply chance to markov bot
Whenever someone says something, there's a chance that markov will
interject his opinion. Users can also set the chance between 0.0 and the
default value (in the config) if they want to see markov replies less
often.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-30 14:29:37 -07:00
a4958d371e Finally settle on a good model for markov
If you don't use/access your chain every N seconds (300 by default), it
will unload your chain from memory and save it to disk.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-26 20:59:06 -07:00
85d48d368c Add Markov.add function
This is basically just a shorthand, but also abstracts away adding a
line to a markov chain

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-25 19:18:37 -07:00
03f2957c8f Add markov_import script
Used to import markov chains to the given channel. No help available.
Use at your own risk.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-24 20:32:37 -07:00