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

fent/nickie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nickie

* Abandoned *

A nickserv bot for your irc server needs.

Build Status Dependency Status codecov

Usage

var Nickie = require('nickie';
var nickie = new Nickie('irc.myircserver.net');

API

new Nickie(server, [options])

Options can be

  • nick - Nick of the bot for Nickie. Defaults to NickServ.
  • ops - A hash of nicks that have elevated access.
  • networkServices - A hash of special nicks that are part of the network. By default contains nickserv and chanserv.
  • maxAccounts - Number of maximum accounts that can be associated with an email.
  • minToWait - Number of minutes to force a user to wait before they can register their nick.
  • store - Storage to use to keep track of nicks. Defaults to memory store.

Nickie#userConnected(nick, ip, [callback])

Should be called when a user connects to the server. Returns a promise if no callback is given.

Nickie#userDisconnected(nick, ip, [callback])

Should be called when a user disconnects from the server. Returns a promise if no callback is given.

Install

npm install nickie

Tests

Tests are written with mocha

npm test

License

MIT

About

Nickserv irc bot.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published