defendtheweb / NexBot

Node.js IRC bot
Other
8 stars 8 forks source link

NexBot

Node.js IRC bot

Build Status Coverage Status

Install and Setup

1 Install Node.JS

git clone https://github.com/joyent/node
cd node
./configure
make
make install

2 Install Dependencies

  1. Go to the root folder and install the required packages for NexBot
    npm install

3 setup the database

If you plan on using the dbLogger module

mysql -u <user> -p <database> < db.sql

4 Edit configuration files

  1. Edit the data/example.config.js file to match your details and rename it to config.js.

  2. Rename the data/example.nicks.js file to nicks.js.

Running tests

npm test

This will run the test suite, jsHint all code in src/ and test/ and generate a test coverage report. The test coverage report can be found in the /reports folder.

Usage

Start the bot by running node src/main.js. Once the bot is running you can use the following commands:

Private messaging the bot