0 points
There’s a convention for websites to use robot.txt files that prescribe whether bots should be allowed to access the site. But it’s just that, a convention which malicious actors don’t need to feel beholden to. Depending on the legal framework, you could also just threaten to sue anyone using one’s data for AI without permission, but that’s probably not feasible for the average lemmy server operator.