Skip to content
what is this, twitter for lobsters?
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
.env.sample
.gitignore
Gemfile
Gemfile.lock
README
phrases.yml
tweet.rb

README

search for instances of "lobster for dinner" and reply with "mmm... that sounds good."

## Setup

Copy `.env.sample` to `.env` then add keys, token, and secrets. Or set the keys and such in your environment.

## Run

bundle install
ruby tweet.rb

## Automation

to automate put this in your cron:
```
MAILTO=""
* * * * * ruby /path/to/repo/tweet.rb
```

or

Run `whenever -w` to write crontab using the defined schedule in `config/schedule.rb`

Something went wrong with that request. Please try again.