-
-
Save patcon/3890502 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