Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.261 kb
# Get a fortune
#
# fortune me - Displays a super true fortune
module.exports = (robot) ->
robot.respond /(fortune)( me)?/i, (msg) ->
msg.http('http://www.fortunefortoday.com/getfortuneonly.php')
.get() (err, res, body) ->
msg.reply body
Jump to Line
Something went wrong with that request. Please try again.