Skip to content

Instantly share code, notes, and snippets.

@parshap
Created December 21, 2015 19:22
Show Gist options
  • Save parshap/15cb6650e641d486ad79 to your computer and use it in GitHub Desktop.
Save parshap/15cb6650e641d486ad79 to your computer and use it in GitHub Desktop.
import slack from `slack`
let token = process.env.SLACK_TOKEN
let bot = slack.rtm.client({token})
bot.on("hello", console.log)
bot.on("message", console.log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment