ljsc / hbot

A simple Haskell chat bot for Hipchat
GNU General Public License v3.0
8 stars 1 forks source link

Create plugin for integration with Econify subreddit #3

Open ljsc opened 10 years ago

ljsc commented 10 years ago

Via @AndrewO. Figure out how to get notifications in the chat when anybody posts a link to /r/econify.

AndrewO commented 10 years ago

Also, expose a command that allows us post links from Hipchat back to the subreddit.

ljsc commented 10 years ago

expose a command that allows us post links from Hipchat back to the subreddit.

:+1:

stephenbaldwin commented 10 years ago

i like that. :+1:

something like : reddit http://chipotle.com Title Here

AndrewO commented 10 years ago

something like : reddit http://chipotle.com Title Here

<thumbs-up/>

Crap, I don't know how to do that emoji.

ljsc commented 10 years ago

So I looked into this a little last night. For the chat->sub part it might be possible to use pubsubhubbub to get pushes when the rss feed updates. Looks at little like a pain in the butt though. Might be better just to run a cron job and do polling. Unfortunately either one won't quite fit into the plugin system currently.

The other direction might be easier. Haven't really taken too much of a look into reddit's apis though.