Spam is spam. We should always look for the good in people and try to give them the benefit of doubt whenever possible, but we can't tolerate inappropriate content. If the answers were added only to promote a site or product, do not disclose the affiliation, or they do not directly answer the question then they should be removed. If there is a way to salvage useful answers, then adding the affiliation for the user could be the option, but the important thing here is recognizerecognizing what the intention of the poster was. If they only want to promote their product/library then it is not acceptable. If they wrote the library to fill in the niche and they meant well, then we can work together to salvage the answers.
If the issue is raised on meta about one of the flagsa flag I handled then I will provide an answer just as if it was any other flag by any other user. I will share as much of themany details as I allowed to share publicly, and try to give my point of view of the situation. If concerns have been raised about content moderation, then the community should be entitled to some explanation.
I will explain that I acted in the best interest of the community. Multiple exact same answers linking to the same product are not allowed, but if the author is willing to disclose their affiliation and explain how this product solves the original problem then the best answer can be undeleted.