The comedian and actress suffered with symptoms for years before she was given a diagnosis