Skip to content

Instantly share code, notes, and snippets.

@1syo
Created October 22, 2015 14:46
Show Gist options
  • Save 1syo/1836575ff99fdcf791ee to your computer and use it in GitHub Desktop.
Save 1syo/1836575ff99fdcf791ee to your computer and use it in GitHub Desktop.
# Description:
# Example scripts for you to examine and try out.
#
util = require('util')
module.exports = (robot) ->
robot.respond /node\sversion/i, (msg) ->
msg.send "My node version is: #{process.version}"
robot.respond /env/i, (msg) ->
msg.send "My environment is: #{util.inspect(process.env,false,null)}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment