Created
January 17, 2012 08:43
-
-
Save bcardarella/1625695 to your computer and use it in GitHub Desktop.
Hubot script for Google hangouts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
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?