UNPKG

hubot-scripts

Version:

Allows you to opt in to a variety of scripts

23 lines (21 loc) 386 B
# Description: # Display GitHub zen message from https://api.github.com/zen API # # Dependencies: # None # # Configuration: # None # # Commands: # zen - Display GitHub zen message # # Author: # anildigital # module.exports = (robot) -> robot.hear /\bzen\b/i, (msg) -> msg .http("https://api.github.com/zen") .get() (err, res, body) -> msg.send body