Dictionary.com
Thesaurus.com

had been discrediting

  • past perfect progressive
    of discredit.
    discredit
    verb (used with object)
    to injure the credit or reputation of; defame.