IrcBot Framework based on Sprinkles.
-
Install the Gem
gem install spunk -
load library and setup your options
require 'spunk' options = { :nickname => "spunk", :username => "spunk", :hostname => "localhost", :rooms => ["#spunk"]} -
setup your bot
@bot = Spunk::Bot.new options -
add your processors
@bot.add_processor Spunk::Processor::SayHello.new @bot.add_processor LogToConsole.new -
start your bot
@bot.run
See example folder for examples of processors and usage.