sjtug/hubot — pull request #7 by Sorrow17 (2014-08-29 05:20:54+00:00)
Title: Lab.js

lab.js is a file containing all the functions needed to implement hubot plugins for otrlab's slack chatroom. Til now, there are two commands in it:

1. lab.echo XXX
It will return XXX by hubot. This command is used to test whether hubot works correctly.

2. lab.hackernews/lab.hn
This command will return top 30 news on the Hackernews.com in the reversed order.
Since the "hackernews.coffee' in the scripts provided by community is no longer maintained and it's easily broken in different environment, I implement with a third-party API of Hackernews.com