13

I operate a content mirroring instance that is intended to be read-only, where only a moderator bot is allowed to post and comment. However, I realized that comments can still be made on posts even when the community is set to "Only moderators can post". Locking threads can block comments but it would also prevent the bot from posting comments, and there are a lot of threads to lock.

My naive solution is currently to ban anyone who comments, but is there any better way to create a read-only community without also blocking federation?

top 6 comments
sorted by: hot top controversial new old
[-] Azeon@feddit.nl 5 points 1 year ago* (last edited 1 year ago)

Would setting up another bot to auto delete any comments not made by your mirroring bot fix the problem? You could have the bot also send a PM explaining why their post was deleted.

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

I consider these features critical on the backend so new server upgrades and hardware moves can be tested without letting users create posts or comments.

[-] greensky@sh.itjust.works 2 points 1 year ago

Yes, it is possible

[-] WhoRoger@lemmy.world 2 points 1 year ago

There's a checkbox for that when creating a new community.

[-] Andreas@feddit.dk 5 points 1 year ago

On 0.18.0, there is only the "Only moderators can post" checkbox which stops regular users from creating new posts, but it doesn't stop them from commenting on posts. I'm looking for a way to prevent both (instead of deleting comments after they have been posted).

[-] pe1uca@lemmy.pe1uca.dev 2 points 1 year ago

If your bot is already a moderator of the community couldn't it lock the comments by default and when it needs to make a comment it could unlock it for that brief moment and relock it.

load more comments
view more: next ›
this post was submitted on 30 Jun 2023
13 points (100.0% liked)

Lemmy Support

4550 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS