Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple IRC bot developed with Node

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 db
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 config.js-dist
Octocat-spinner-32 linkbot.js
README.md

node-linkbot

A simple IRC bot developed with Node. Joins a specified room and logs mentioned URLs for later retrieval

Dependencies

  • irc and sqlite Node modules:

    # npm install irc sqlite
    
  • sqlite3 binary

Running

Create the database

./bin/create_database.sh

Configure

Copy config.js-dist to config.js and set the server, channel and nick you want the bot to use

Launch the bot

./linkbot.js

Available commands

To command the bot simply mention one of the following in the room:

  • !uptime will display the number of seconds the bot has been running
  • !links will display the 3 most recently mentioned links
Something went wrong with that request. Please try again.