Yesterday, I started a new Node.js module project:
And today, I have a very simple version 0.0.1 running, with a sample application.
Reference in your program:
var simpletbot = require('simplebot');
Create, configure and launch a bot:
var bot = simplebot.createBot(); bot.use(plugin1); bot.use(plugin2); bot.use(plugin3); bot.start();
A plugin can:
- Produce incoming messages to be processed by the bot and its plugins
- Emit out coming messages using the bot
- Subscribe and process incoming message sent the bot
- Process out coming messages from the bot
See the README.md, test and samples folder for more detailed information. All is work in progress.
Angel “Java” Lopez