POE::Component::IRC::Plugin::WWW::Reddit::TIL first release

Hi all,

Yesterday I released another IRC plugin for POE::Component::IRC: POE::Component::IRC::Plugin::WWW::Reddit::TIL

The plugin simply fetches a random title and link from the front page of Reddit's TodayILearned subreddit.

I used WWW::Shorten::Simple to return bitly links, and Mojo::JSON to decode reddit's API.

example:

curtis: !TIL
ircbot: curtis: TIL that the fighter squadron with the highest number of kills in the Battle of Britain during WWII were actually from Poland, and showed up two months after the battle had begun. http://bit.ly/ZN0qdB

links:

CPAN
Github

Leave a comment

About curtis

user-pic github.com/aggrolite