diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-10-13 17:46:22 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-10-13 17:46:22 +0000 |
commit | 4ce1c479b57beecd2fb8d13a33ce91e1f272bd97 (patch) | |
tree | a33a0b3a9504c196d74deee0ac0ba33b4e84be23 /data/rbot | |
parent | e6f0ce016d6a016e04e6bae065c700113122c021 (diff) |
close #38 for real
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/markov.rb | 4 |
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) |