diff --git a/lib/twitter_ebooks/bot.rb b/lib/twitter_ebooks/bot.rb index 7b63c06..77a91e6 100644 --- a/lib/twitter_ebooks/bot.rb +++ b/lib/twitter_ebooks/bot.rb @@ -29,7 +29,7 @@ module Ebooks usertweets = @tweets.select { |t| t.user.screen_name.downcase == username.downcase } if usertweets.length > 2 - if (usertweets[-1].created_at - usertweets[-3].created_at) < 30 + if (usertweets[-1].created_at - usertweets[-3].created_at) < 10 return true end end