Tweet on startup like doc says it should

This commit is contained in:
Joel McCoy
2015-01-08 14:03:33 -05:00
parent 094ff69ec3
commit 1de527e145

View File

@@ -94,6 +94,8 @@ class BoodooBot
def on_startup def on_startup
log "I started up!" log "I started up!"
tweet(model.make_statement)
scheduler.interval @tweet_interval do scheduler.interval @tweet_interval do
if rand < @tweet_chance if rand < @tweet_chance
tweet(model.make_statement) tweet(model.make_statement)