public
Description: Direct Connect bot written in Ruby
Clone URL: git://github.com/kballard/dcbot.git
Search Repo:
kballard (author)
Mon Mar 17 19:12:13 -0700 2008
commit  994400c0b741c96c8e7526eac3d37964804ac9cb
tree    86447980687c8c337089e757718210e2c6403839
parent  5a498b0375a742aac109c5b3833829ce9660e0b1
dcbot / README.markdown
100644 35 lines (24 sloc) 0.761 kb

DCBot

DCBot is a Direct Connect bot written in Ruby. It has an extensible plugin architecture backed by a database and comes with a plugin to manage requests.

Dependencies

  • RubyGems
  • ActiveRecord
  • EventMachine
  • libbz2

Usage

Edit dcbot_example.conf, rename it to dcbot.conf, and then run dcbot.rb. Typing text into standard input will send it as messages to hub chat.

Notes

At this time, only one hub connection is supported. It should be easy to add multiple hubs, but I didn't need it and I wasn't sure how to handle keyboard input in that case.

Also, please note that this is a fairly quick and dirty bot, so don't be surprised if some of the architecture is suboptimal.

Author

Kevin Ballard kevin@sb.org