1.0.1 • Published 9 years ago
bot-interface-socket v1.0.1
bot-interface-socket
A socket interface for your bot (ibot)
Install
npm install --save bot-interface-socket
Usage
const iSocket = require('bot-interface-socket')
const bot = require('./lib/your-ibot')
bot.configure({
interface: iSocket
})
process.on('SIGINT', () => {
bot.exit()
process.exit()
});
bot.run()
License
Under the MIT license. See LICENSE file for more details.