ICARUS BOT
This is a very simple IRC bot that I built from scratch because I wanted to learn about RFC 2812 and RFC 1459.
Creating a bot:
- Copy config.dist.json to config.json
- Fill out all the stuff in config.json
- Write a bot consumervar bot =var plugin-foo = bot`var plugin-bar = require('icarubot-plugin-bar')(bot)`
- Run your bot
node whatever-you-name-your-bot.js
Creating a plugin:
The bot currently emits various events that you can listen to, most notably the
msg
event.
Here is a simple plugin:
module { bot}
Current plugins (PR to add yours!):
- Adds a handler for a !face message that posts a random face from lysergix-api