Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 332 Bytes
# Hangout <room name> provides a link to the proper GoogleHangout
module.exports = (robot) ->
robot.respond /(hangout|standup)\s?(.*)?/i, (msg) ->
roomname = msg.match[2] || msg.match[1]
link = "https://talkgadget.google.com/hangouts/extras/optimiscorp.com/#{roomname}"
msg.send("Join " + roomname)
msg.send(link)