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