Updated IRCBot to centralize queries, prepared statements, and only have one connection open.