Endi is a Cinch plugin for getting the latest news from endi.com . El Nuevo Dia is a Puerto Rican newspaper.
$ gem install cinch-endi
- !endi [total of news] - Fetches the total of news or the top 25 by default.
require 'cinch'
require 'cinch/plugins/endi'
bot = Cinch::Bot.new do
configure do |c|
c.server = 'irc.freenode.net'
c.nick = 'Tavin_Pumarejo'
c.channels = ['#RubyOnADHD']
c.plugins.plugins = [Cinch::Plugins::Endi]
end
end
bot.start
Enjoy!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request