Created
December 1, 2016 14:47
-
-
Save yrezgui/fa716b489803d1ed8f4c6a04f8a37d9b to your computer and use it in GitHub Desktop.
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
const Botmaster = require('botmaster'); | |
const SlackBot = Botmaster.botTypes.SlackBot; | |
const botmaster = new Botmaster(); | |
const slackBot = new SlackBot(SLACK_SETTINGS); | |
botmaster.addBot(slackBot); | |
botmaster.on('update', (bot, update) => { | |
bot.reply(update, 'Hello world'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment