Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created January 17, 2012 08:43
Show Gist options
  • Save bcardarella/1625695 to your computer and use it in GitHub Desktop.
Save bcardarella/1625695 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)
@patcon
Copy link

patcon commented Oct 15, 2012

Hey Brian. Was really excited to find this, but it's looking like the method doesn't work anymore with changes to the google hangout api, huh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment