From 4ce1c479b57beecd2fb8d13a33ce91e1f272bd97 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Thu, 13 Oct 2005 17:46:22 +0000 Subject: close #38 for real --- data/rbot/plugins/markov.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index 0e5923ef..ef599df4 100644 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -112,6 +112,10 @@ class MarkovPlugin < Plugin return false end + def delay + 1 + rand(5) + end + def random_markov(m, message) return unless should_talk line = generate_string(message) -- cgit v1.2.3