markov: Update example config to reflect most recent changes

* save_every is no longer necessary so it is removed
* sql_path is added if you need to specify the location of the database
  SQL

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-23 12:36:49 -07:00
parent 8c4bb5ac60
commit 65dcf8d2ad

View File

@@ -99,19 +99,15 @@ module = "plugins.markov"
# order = 1
# data_path
# This is the path to the directory that holds the markov chains. Chains are
# stored by channel, and then bey user.
# For example, data/markov/#chat/nick holds the data for the user "nick".
# default: data/markov/
# data_path = "data/markov"
# This is the path to the sqlite3 database file that holds the markov chains.
# default: data/markov/markov.db
# data_path = "data/markov/markov.db"
# save_every
# Markov chains for all users are saved periodically. This value determine the
# number of seconds between saves.
# If a user's markov chain is not accessed after their last save, it is pruned
# from memory.
# default: 1800
# save_every = 1800
# sql_path
# This is the path to the SQL file that contains the initial database layout.
# This probably does not need to be changed.
# default: data/markov/db.sql
# data_path = "data/markov/db.sql"
# reply_chance
# Whenever someone says something, the bot will train their markov chain based