Thinking A Bot (2)

Previous Post

Yesterday, I started a new Node.js module project:

https://github.com/ajlopez/SimpleBot

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.

Keep tuned!

Angel “Java” Lopez

http://www.ajlopez.com

http://twitter.com/ajlopez

1 thought on “Thinking A Bot (2)

  1. Pingback: Thinking a Bot (1) | Angel "Java" Lopez on Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s