mobyvb / slack-buzz

buzz
0 stars 0 forks source link

Reddit Integration #11

Open irapha opened 10 years ago

irapha commented 10 years ago

Integrate a listen function into buzz that listens for commands of type /r and /u. When it sees one, it links to whatever is after the command (on reddit) and also displays a link/name of the the top post on that subreddit/user's page.

irapha commented 10 years ago

Just need to add support for user links (/u/)

irapha commented 10 years ago

Also need to add support for parameters in the query such as /r/subreddit hot (or new, etc). and it would display the top post for that listing. As simple as adding a /hot on the path link. Also change the message to say "Top Post of hot:"

irapha commented 10 years ago

BUG: the top commenter username is being parsed to .replace("", "\") this can't happen as quij_the_turnip is being displayed as quij_the_turnip