Created
December 21, 2015 19:22
-
-
Save parshap/15cb6650e641d486ad79 to your computer and use it in GitHub Desktop.
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
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