Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Send notifications to an IRC channel using netcat
Branch: master
Pull request Compare This branch is 1 commit behind Azelphur:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
config.cfg
irc.py
netcat.py
twistedcat
twistedcat.tac
xmpp.py

README

Usage:
1) Edit config.cfg, remove any sections you don't want, Each section
supports multiple accounts, meaning you can have the bot on multiple IRC
networks, or multiple XMPP accounts.
2) Start the bot with twistd -y twistedcat.tac
3) Send stuff to the bot using netcat. Example:
echo "Hello, world!" | netcat localhost 1079

Optional:
Put the twistedcat shell script in /usr/bin for easy access
(example: echo "Hello, world!" | twistedcat)

About:
This is a simple little IRC bot I created in about 30 minutes using python and twisted 
for use on my gaming communities server, it notifies us of available updates, servers
going up/down, and other similar things I got the idea from last.fm's irccat, which is
very similar. Except I didn't want all of the extra commands. I also like python and
twisted, so I wrote it myself. :)

A few people in #ubuntu-uk became interested, so I spruced it up a bit, and added XMPP 
support. Enjoy! :D

The IRC protocol code came from here:
http://eflorenzano.com/blog/2008/11/16/writing-markov-chain-irc-bot-twisted-and-python/


Something went wrong with that request. Please try again.