1.0.0 • Published 9 years ago

bot-interface-console v1.0.0

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

bot-interface-console

A console interface for your bot (ibot)

Install

npm install --save bot-interface-console

Usage

const iConsole = require('bot-interface-console')
const bot = require('./lib/your-ibot')

bot.configure({
    interface: iConsole
})

process.on('SIGINT', () => {
    bot.exit()
    process.exit()
});

bot.run()

License

Under the MIT license. See LICENSE file for more details.

1.0.0

9 years ago