def auth modhash, cookies
      set_cookies cookies
      @modhash = modhash
      meinfo = get("/api/me.json")
      @username = meinfo['data']['name']
      @userid = 't2_' + meinfo['data']['id']
    end
def auth modhash, cookies
      set_cookies cookies
      @modhash = modhash
      meinfo = get("/api/me.json")
      @username = meinfo['data']['name']
      @userid = 't2_' + meinfo['data']['id']
    end
Auth into reddit via modhash and cookie. This has the advantage of not throttling you if you call it a lot

 @param modhash [String] The modhash to use
 @param cookies [String] The cookies string to give to the header