Node.js IRC BOT ready to work with openshift.
Go to your application panel and create a Node.js app. Then clone your app to your local and install the irc module
$ npm install irc -S
Modify the variables.
var ircConfig = {
channels: ["#yourchannel"],
server: "irc.freenode.net",
botName: "BotNickHere",
};
$ git add *
$ git commit -am 'First changes'
$ git push
After pushing your changes, your bot will be online in a couple minutes.
The first thing you need to do is to authenticate with the bot as the owner. Just type 'lolpass' to your bot as a private message.
The bot will say a welcome message to new users joining the channel.
Simple greeting
!say hello
Op and Deop usage. (Bot must have op)
!op <nick>
!deop <nick>
Set a new topic to the channel (Bot must be op)
!topic <new Topic>
Of course this is just a simple bot. The purpose is to give you an idea how to implement and improve it.
##Contact
Jose Antonio Martinez
##License
MIT license.