From 65dcf8d2adde8e7588150c3d011f22e2653966e4 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Thu, 23 Jun 2022 12:36:49 -0700 Subject: [PATCH] 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 --- config.example.toml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/config.example.toml b/config.example.toml index ed5a57e..2409611 100644 --- a/config.example.toml +++ b/config.example.toml @@ -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