changed irc bot to use irc library