Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 981 Bytes

Readme.rdoc

File metadata and controls

48 lines (37 loc) · 981 Bytes

ChatBot

A community built chat bot, just for fun. Send pull requests!

Running it

It runs with straight Ruby. You’ll need the Cinch and Cinch-Identify gems and Ruby 1.9, and you’ll want to specify the nick and channel you want to use in a YAML file:

bot.yml
settings:
  nick: my_bot
  channel: ecruby
  nickserv_pass: sekrit
  plugins:
    - "karma"
    - "repeater"
    - "link_catcher"
  cinch_plugins:
    - "Cinch::Plugins::Identify"

If you plan to use the Karma plugin, you’ll need a bit more:

bot.yml
settings:
  nick: my_bot
  channel: ecruby
  nickserv_pass: sekrit
  persistence_url: ecruby.org
  username: some_user
  password: sekrit
  plugins:
    - "karma"
    - "repeater"
    - "link_catcher"
  cinch_plugins:
    - "Cinch::Plugins::Identify"

Then just run it with

ruby chatbot.rb

Things we can do

  • More games

  • Database persistence

  • Record links to Tumblr?

  • Whatever else sounds like fun