Skip to content

Instantly share code, notes, and snippets.

@patcon
Forked from bcardarella/google-hangout.coffee
Created October 15, 2012 02:18
Show Gist options
  • Save patcon/3890502 to your computer and use it in GitHub Desktop.
Save patcon/3890502 to your computer and use it in GitHub Desktop.
Hubot script for Google hangouts
# 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/dockyard.com/"+roomname+"?authuser=0&hl=en&eid"
msg.send("Join " + roomname)
msg.send(link)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment