Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

kenany/nwitch

Repository files navigation

nwitch

Build Status Dependency Status

nwitch is a simple, pluggable IRC bot written in JavaScript and designed to work in Node.js.

nwitch was initially conceived as a TwitchTV chat moderation bot, whose functions would be defined through individual plugins. However, its scope has since widened, considering how it is the plugins that choose whether to be specific to TwitchTV or not.

Currently, nwitch is in early development. There are no guarantees that anything is working at any particular point in time.

Installation

$ npm install nwitch

API

var Nwitch = require('nwitch');

var nwitch = new Nwitch(config)

Creates a new Nwitch instance with options config:

  • config.irc.address
  • config.irc.port
  • config.account.username
  • config.account.password
  • config.account.channel

nwitch.use(plugin)

Adds the given plugin function. Returns nwitch for chaining.