I spend a lot of time on IRC (EFnet if you must know). I started putting together a bot to handle some operations and tasks that come up from time to time. After a few months of tinkering, I’ve decided to open source the project. It supports all of the IRC networks I’ve thrown at it, as well as SSL connections.
The code and documentation is here: https://github.com/ProgrammingAce/ircbot