UNPKG

hubot-scripts

Version:

Allows you to opt in to a variety of scripts

21 lines (19 loc) 381 B
# Description: # Get a random commit message # # Dependencies: # None # # Configuration: # None # # Commands: # hubot commit message - Displays a random commit message # # Author: # mrtazz module.exports = (robot) -> robot.respond /commit message/i, (msg) -> msg.http("http://whatthecommit.com/index.txt") .get() (err, res, body) -> msg.reply body