1.0.2 • Published 7 years ago

ibot-interface-socket v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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