From ba877e5420e043d8483c90c43e8a59dddb09fc84 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 18 Aug 2020 17:01:40 -0700 Subject: [PATCH] Set default markov reply chance to 0.00 in the chain Signed-off-by: Alek Ratzloff --- lib/contrib/markov/chain.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contrib/markov/chain.ex b/lib/contrib/markov/chain.ex index f7e6eda..b51b947 100644 --- a/lib/contrib/markov/chain.ex +++ b/lib/contrib/markov/chain.ex @@ -3,7 +3,7 @@ defmodule Omnibot.Contrib.Markov.Chain do require Logger @enforce_keys [:order] - defstruct order: 2, chain: %{}, reply_chance: 0.01 + defstruct order: 2, chain: %{}, reply_chance: 0.00 def train(chain, line) when is_binary(line) do train(chain, line |> String.split(~r/\s+/))