Irc logger bot with sinatra api