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

21 lines (19 sloc) 0.473 kb
# Description:
# Start up some wonderful chats with conversation starters
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chat - Tell hubot to make something fun to chat about
#
# Author:
# GantMan
module.exports = (robot) ->
robot.respond /chat/i, (msg) ->
msg.http("http://chatoms.com/chatom.json?Normal=1&Fun=2&Philosophy=3&Out+There=4&Love=5&Personal=7")
.get() (err, res, body) ->
msg.send JSON.parse(body).text
Jump to Line
Something went wrong with that request. Please try again.