implemented fallback to standard api in case irc is down