For me it depends who gave the compliment. If it's my boss or someone higher up I take it and feel great but just say "it's no problem at all. It's what I'm supposed to do."
With other co-workers we tend to have a running "joke" through the office and meme where we call each other "experts" in different areas. So if I help them out with a certain area and they thank me I joke around with them by saying "of course, cause I'm the such-and-such expert. Keeps it light but we know they are accepting it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For me it depends who gave the compliment. If it's my boss or someone higher up I take it and feel great but just say "it's no problem at all. It's what I'm supposed to do."
With other co-workers we tend to have a running "joke" through the office and meme where we call each other "experts" in different areas. So if I help them out with a certain area and they thank me I joke around with them by saying "of course, cause I'm the such-and-such expert. Keeps it light but we know they are accepting it.