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

Latest commit

 

History

History
43 lines (29 loc) · 1.21 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.21 KB

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.