Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (29 sloc) 932 Bytes

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.