botstats
v0.1.2
Published
Middleware for botframework
Downloads
5
Readme
botstats
npm install botstats --save
// obtain token from https://alpha.botstats.co
var token = process.env.BOTSATS_TOKEN || "really-long-token"
var botstats = require('botstats')(token)
// assuming your bot is initialized like this
var bot = new builder.UniversalBot(connector)
// tell bot to use botstats
bot.use(botstats)