Skip to content

guruHub/carrier-pigeon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

gem install carrier-pigeon

Usage

require 'carrier-pigeon'

# In the open
CarrierPigeon.send(
  :uri => "irc://nick:[email protected]:6667/#channel",
  :message => "cooooo, coo coo"
)

# SSL
CarrierPigeon.send(
  :uri => "irc://nick:[email protected]:6667/#channel",
  :message => "coo, secret plan",
  :ssl => true
)

# Join a channel (required for most Freenode channels)
CarrierPigeon.send(
  :uri => "irc://nick:[email protected]:6667/#channel",
  :message => "cooooo, part of the flock",
  :join => true
)

# Join a channel that requires a password
CarrierPigeon.send(
  :uri => "irc://nick:[email protected]:6667/#channel",
  :message => "coo, the password is ..."
  :channel_password => "secret",
  :join => true
)

# Register (ping reply) prior to joining or messaging a channel (required for some private servers)
CarrierPigeon.send(
  :uri => "irc://nick:[email protected]:6667/#channel",
  :message => "cooooo, coo coo",
  :register_first => true,
  :join => true
)

Packages

No packages published

Languages

  • Ruby 100.0%