I never said to be a know it all always butting in saying how wrong you are all the time. You have to be smooth with it. And only when a small quarrel is acceptable. But if you know how to pull it off, it's a perfect way to prove your intellect.
Just do what I do, constantly disprove what people say.
She wants her friends to stop making fun of her, not have everyone ostracize her.