summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/markov.rb4
1 files changed, 4 insertions, 0 deletions
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)