cleaned up the irc bot code