This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (19 sloc) 381 Bytes
# 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