Reworking and testing class IRCBotObject.