1.0.1 • Published 9 years ago

bot-interface-socket v1.0.1

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

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.

1.0.1

9 years ago

1.0.0

9 years ago