Skip to content
The simplest library to say something on IRC.
Ruby
Pull request Compare This branch is 27 commits behind portertech:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
MIT-LICENSE.txt
README.org
Rakefile
carrier-pigeon.gemspec

README.org

Requirements

  • Ruby (MRI)
  • RubyGems

Install

gem install carrier-pigeon

Usage

require 'carrier-pigeon'

# In the open
CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "cooooo, coo coo")

# SSL
CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "coo, secret plan", :ssl => true)

# Join a channel (required for most Freenode channels)
CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "cooooo, coo coo", :join => true)

# Join a channel that requires a password
CarrierPigeon.send(
  :uri => "irc://nick:password@irc.domain.com:6667/#channel",
  :channel_password => "password",
  :message => "cooooo, coo coo",
  :join => true
)
Something went wrong with that request. Please try again.