CloudBotIRC / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
273 stars 252 forks source link

possible to obtain stats from lets say NHL? #264

Open martinrundstrom opened 7 years ago

martinrundstrom commented 7 years ago

Hey, I'm running a New York Rangers channel on quakenet.org is it possible to retrieve information redgarding their latest score with any API and make the bot spit that out on:*:TEXT:!command#nyrangers?

edwardslabs commented 7 years ago

There isn't an officially supported plugin for this but this is one I wrote that will report sports scores including the NHL.

https://github.com/edwardslabs/CloudBot/blob/gonzobot/plugins/sportscores.py

astrutt commented 7 years ago

I'd like to see that in our bot. =) We have a lot of canadians too. they like hockey.

On Tue, May 2, 2017 at 12:34 AM, Andy Edwards notifications@github.com wrote:

There isn't an officially supported plugin for this but this is one I wrote that will report sports scores including the NHL.

https://github.com/edwardslabs/CloudBot/blob/gonzobot/plugins/sportscores. py

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CloudBotIRC/CloudBot/issues/264#issuecomment-298495203, or mute the thread https://github.com/notifications/unsubscribe-auth/ALFImp0EMUa5e7Ha1uKJtbkleI8uUYhjks5r1rJogaJpZM4MuABi .

-- Andrew Strutt andrew.strutt@gmail.com https://keybase.io/astrutt GV# : +1.702.514.0650 AF# : +93.07962.80801

zzqwlol commented 7 years ago

I wrote one a good while back, but it still works. You can find it at https://github.com/zzqwlol/CloudBot/blob/gonzobot/plugins/nhl.py