This is pure speculation, but I wouldn't even be surprised if didn't have any say in this. What likely happened is that higher ups proposed a new feature to ban certain words, likely phrased as a way to remove racist and/or derogatory words.
You might think a big enough paycheck compensates for an ethical infraction, but it's a decision you alone make.