Refactored Bot into IrcBot based on Bot trait.