Socket
Book a DemoInstallSign in
Socket

nickie

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nickie

NickServ bot for IRC.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

nickie

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

Keywords

irc

FAQs

Package last updated on 10 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts