this post was submitted on 20 Jul 2023
56 points (95.2% liked)

Technology

59168 readers
3093 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

geteilt von: https://feddit.de/post/1728805

I made a simple mod bot for Lemmy.

It's still "early access", but it's stable and should be fit for everyday use.

I'd be really happy to get some feedback on what kind of features mods would like to see.

If you want to try it in action, go to !bottest@feddit.de. That's the testing community where it currently filters posts with duplicate URLs, same as mentions of Reddit, Lego and other beings-who-must-not-be-named. Feel free to post stuff there and see it get automatically moderated.

top 9 comments
sorted by: hot top controversial new old
[–] Blaze@sh.itjust.works 2 points 1 year ago

Seems great!

[–] nix@merv.news 2 points 1 year ago (1 children)

And overview of its features would be useful

[–] squaresinger@feddit.de 3 points 1 year ago (1 children)

The Github link has a detailled description of what it can do.

Basically, there are triggers and actions.

Currently there are these triggers:

  • Find posts with duplicate URLs
  • Find posts/comments that match a regex pattern. Posts can match on URL, title and content, comments only on comment. This trigger can also be used to find posts/comments that don't match the regex.

Actions:

  • Post a comment under the post/comment
  • Lock a post
  • Remove a post/comment. For this action you can also post a reason.

The actions that create text (posting a comment and the reason for removal) allow you to fill in any information that the REST API returns for the target post/comment. This allows you to e.g. address the user by name or link to the already existing post of the duplicate url.

[–] nix@merv.news 2 points 1 year ago (1 children)

Very useful thanks! Will you be testing it in any community?

[–] squaresinger@feddit.de 2 points 1 year ago* (last edited 1 year ago)

It's currently running on !bottest@feddit.de, moderating posts about stuff that should not be talked about (e.g. Lego, Reddit and a specific person that must not be named)

[–] federalreverse@feddit.de 1 points 1 year ago (1 children)

I just had the stupid idea that we could try to create something like r/place. Basically people could comment coordinates/color, x,y,#HEX, and the bot would need to validate that syntax and delete comments that fail validation as well as comments from posters who previously made a comment.

The magic of turning this into an image would have to happen elsewhere though.

[–] squaresinger@feddit.de 2 points 1 year ago (1 children)

Dude, you can't tell me stuff like that! I have other stuff to do on the weekend! ;)

[–] federalreverse@feddit.de 1 points 1 year ago

Hah, that wasn't meant as a mission. Just an idea I had watching the fun over on the other side. And I am wondering if Feddit as a host might too low-bandwidth to do it anyway.