Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The #rubyonrails channel bot
Ruby
branch: master
Failed to load latest commit information.
config Remove authorized users
lib
Gemfile Update gems
Gemfile.lock Update gems
Procfile Update rails bot for heroku
README.md Add support for joins + parts + quits
bot.rb Add channel to join/part messages
karma.rb Update now uses an exclamation mark
migration.rb add null: false for timestamps for messages table
railsbot.rb Lookup be gone
tips.sql Update tips database

README.md

Railsbot

This is the channel bot ("helpa") for #rubyonrails. It is used so people don't have to type things over and over again.

You can run the bot yourself with ruby bot.rb irc.freenode.net.

Heroku

Configure your bot in config/summer.yml

First set the required config vars

heroku config:set RAILS_BOT_IRC_SERVER=irc.freenode.net

heroku config:set RAILS_BOT_IRC_PORT=6667

next run required database migrations

heroku run ruby migration.rb

next configure heroku to use a bot worker

heroku ps:scale bot=1

Database settings

The database settings in summer.yml will automatically be overwritten by heroku's DATABASE_URL environment variable so that its an effortless setup to use heroku postgres.

Something went wrong with that request. Please try again.