Last active
April 27, 2016 08:47
-
-
Save saihoooooooo/3673c79cce9781b412dd57df7db8f2e7 to your computer and use it in GitHub Desktop.
hubot-slack-enter
This file contains 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
robot.enter (msg) -> | |
if msg.message.user.room is 'general' | |
msg.send 'TODO' | |
# enterReplies = ['Hi', 'Target Acquired', 'Firing', 'Hello friend.', 'Gotcha', 'I see you'] | |
# leaveReplies = ['Are you still there?', 'Target lost', 'Searching'] | |
# | |
# module.exports = (robot) -> | |
# robot.enter (res) -> | |
# res.send res.random enterReplies | |
# robot.leave (res) -> | |
# res.send res.random leaveReplies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment