Angel \”Java\” Lopez on Blog

September 27, 2013

Thinking A Bot (2)

Filed under: Artificial Intelligence, Bot, NodeJs, Open Source Projects, SimpleBot — ajlopez @ 7:09 pm

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

Create a free website or blog at WordPress.com.