If you mistakenly spell "digrating", the correct spelling to use is "denigrating". Denigrating means to criticize or speak ill of someone or something. So, if you want to express that someone is unfairly or negatively commenting on a person or an idea, "denigrating" is the right word to use.