Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
Procfile
README.md
package.json
server.js

README.md

IRCTweetParrot


An IRC bot for posting a tweets content

Install Dependencies

To install IRCTweetParrots dependencies use:

npm install

Twitter OAUth

To use the twitter 1.1 API you need to get the OAuth access details by registering your application with twitter https://dev.twitter.com/

Edit Configuration

In server.js edit the following lines to setup your connection:

var config = {
        ircServer: 'irc.mibbit.net',
        ircChannel: '#parrotTest',
        botName: 'parrot',
        twitterConsumerKey: '',
        twitterConsumerSecret: '',
        twitterAccessToken: '',
        twitterAccessTokenSecret: ''
};

To run the bot

node server.js

To run the tests

The tests are written in Mocha

To install (system wide)

npm -g install mocha

Then to run the tests:

mocha

It runs all tests in the test directory

Something went wrong with that request. Please try again.