1.0.1 • Published 7 years ago
ibot-interface-console v1.0.1
ibot-interface-console
A console interface for your bot (ibot)
Install
npm install --save ibot-interface-console
Usage
const iConsole = require('ibot-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.1
7 years ago