dcbot /
| name | age | message | |
|---|---|---|---|
| |
COPYING | Sat Feb 16 13:24:52 -0800 2008 | [kballard] |
| |
LICENSE | Sat Feb 23 14:57:21 -0800 2008 | [kballard] |
| |
README.markdown | Wed Mar 12 19:47:02 -0700 2008 | [kballard] |
| |
TODO | Sat Feb 23 14:57:21 -0800 2008 | [kballard] |
| |
config.rb | Fri Feb 15 05:33:58 -0800 2008 | [kballard] |
| |
dcbot.rb | Wed Feb 27 19:39:12 -0800 2008 | [kballard] |
| |
dcbot_example.conf | Sat Feb 16 10:34:23 -0800 2008 | [kballard] |
| |
dcprotocol.rb | Wed Feb 27 19:39:12 -0800 2008 | [kballard] |
| |
dcuser.rb | Sat Feb 23 14:57:20 -0800 2008 | [kballard] |
| |
keyboard.rb | Sat Feb 16 08:28:32 -0800 2008 | [kballard] |
| |
plugin.rb | Tue Feb 26 15:16:43 -0800 2008 | [kballard] |
| |
plugins/ | Mon Mar 17 19:12:13 -0700 2008 | [kballard] |
README.markdown
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




