Endi is a Cinch plugin for getting the latest news from endi.com . El Nuevo Dia is a Puerto Rican newspaper.
Installation
$ gem install cinch-endi
Command
- !endi [total of news] - Fetches the total of news or the top 25 by default.
Integration with Cinch
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!
Author
Contributing
- 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