This is just a library to make a simple IRC bot. At this time, consider it to be barely alpha quality.
Add this line to your application's Gemfile:
gem 'botrb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install botrb
After installing the gem via some method (mentioned above), do something like the following:
require 'Botrb'
config = {
name: 'mybot',
host: 'irc.libera.chat',
port: 6667
}
bot = Botrb::Bot.new config
bot.run
TODO: Add classes and documentation for handlers...
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Fork this repo, make some changes, and then submit a pull request. I'll review and merge as necessary.
Bug reports are also welcome.
The gem is available as open source under the terms of the MIT License.