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 @rikudou@lemmings.world 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 take action on 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.

4 points

Lemmy does not support karma, but account age if I’m not mistaken. Maybe add a rule to require a certain account age before accepting a post. The main idea is to prevent astroturfing, spam accounts and socket puppets for ban evasion.

Not sure how effective this is since violators could setup an own instance which lies about the account age. Still quite the investment for ban evasion IMHO.

permalink
report
reply

I’ve set my age to 100 years as a gag, I don’t think you can rely on that stuff. Plus, creating an account is free, so spammers can just create a bunch of sockpuppets beforehand.

I can still see a use for a moderation bot, though; piping everything through a tool like SpamAssasin could filter out those kbin spam waves that happened every now and then almost automatically.

permalink
report
parent
reply
1 point

But you went the extra mile and set up your own instance to do this, right?

Nice bio btw.

permalink
report
parent
reply

I mean I didn’t set it up for this, but it was fun. The point is you can’t really rely on this info. I imagine plenty of Fediverse software will render 1970-01-01 as the registration date simply because they don’t track that info.

permalink
report
parent
reply
2 points
*

Sounds good as well. Karma would be bad but account age seems somewhat reasonable as an optional protection. Accepted.

permalink
report
parent
reply
3 points

You can have a look at thé lemmy.zip moderation bot

permalink
report
reply
1 point
*

Will do.

permalink
report
parent
reply

Fediverse

!fediverse@lemmy.ml

Create post

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of “federation” and “universe”.

Getting started on Fediverse;

Community stats

  • 1.1K

    Monthly active users

  • 262

    Posts

  • 1.1K

    Comments