bare bones irc bot written in bad c++