Skip to content

Instantly share code, notes, and snippets.

@saihoooooooo
Last active April 27, 2016 08:47
Show Gist options
  • Save saihoooooooo/3673c79cce9781b412dd57df7db8f2e7 to your computer and use it in GitHub Desktop.
Save saihoooooooo/3673c79cce9781b412dd57df7db8f2e7 to your computer and use it in GitHub Desktop.
hubot-slack-enter
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