this post was submitted on 21 Aug 2024
35 points (90.7% liked)

Fediverse

27910 readers
1 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
35
submitted 3 months ago* (last edited 3 months ago) by AsudoxDev to c/[email protected]
 

cross-posted from: https://programming.dev/post/18411894

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @[email protected] to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • Punish content authors or remove content via word blacklist/regex
  • Ban members of communities by their usernames/bios via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome. Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account's age is lower than X, remove the post.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

Thanks for taking this on! Lemmy is lacking these sorts of flexible and robust moderation tools.

What other features do you think are possible?

I think the ability to auto comment could be combined with regex and not limited to punishment. The ability to reply to an arbitrary string or list of strings with another string could be quite useful. Do you think this would be feasible?

[โ€“] AsudoxDev 2 points 3 months ago

Yeah, I'd like to make the bot flexible as well. Noted.