0.0
No commit activity in last 3 years
No release in over 3 years
Unix style fortunes to users for IRC.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Cinch-Fortune

Unix style fortunes to users for IRC.

Installation

if you haven't already:

$ gem install cinch

then install this gem:

$ gem install cinch-fortune

Example Usage

require 'cinch'
require 'cinch/plugins/fortune'

Cinch::Plugins::Fortune.configure do |c|
  c.max_length = 100
end

bot = Cinch::Bot.new do
  configure do |c|
    c.server           = "irc.freenode.net"
    c.nick             = "cinch"
    c.channels         = ["#cinch-bots"]
    c.plugins.plugins  = [Cinch::Plugins::Fortune]
  end

end

bot.start