1.0.2 • Published 7 years ago
ibot-interface-socket v1.0.2
ibot-interface-socket
A socket interface for your bot (ibot)
Install
npm install --save ibot-interface-socket
Usage
const iSocket = require('ibot-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.
1.0.2
7 years ago