0.1.0 • Published 6 years ago
talkdirtytome-botkit v0.1.0
Chatbase middleware for Botkit
Middleware for Botkit that allows for Talk Dirty to Me integration
Install
npm install talkdirtytome-botkit --save
Usage
Include this module and initialize it with your td2m API key.
var tdm2 = require('talkdirtytome-botkit')(API_KEY);
Add the following code after initializing the Botkit controller.
controller.middleware.receive.use(tdm2.receive);
controller.middleware.send.use(tdm2.send);
Credits
This middleware used Chatbase-botkit as inspiration
0.1.0
6 years ago