This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
craigw/sprinkles
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Name: Sprinkles A simple IRC Bot library written in ruby How to make a bot: require 'sprinkles' require 'processor/logger' options = { :username => mybot, :fullname => mybot, :nickname => mybot, :hostname => myirc.com, :rooms => ['#mychannel'] } bot = Sprinkles::Bot.new(options) bot.add_processor(Sprinkles::Processor::Logger.new) bot.start You can see more examples in ./contrib Options for the bot: :username - username (Required) :fullname - fullname (Required) :nickname - nickname (Required) :hostname - irc server's hostname (Required) :rooms - an array of channels to connect to on startup (Required) :password - a password to be provided to your irc server (Optional) :ssl - a boolean that tells your bot to use SSL to connect (Optional, default = false) :ssl_verify - a boolean that tells the SSL library whether to do SSL certificate verification (Optional, default = true)
About
A framework for creating IRC bots in Ruby. It's pretty rudimentary, but it's a start.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published