this post was submitted on 07 Sep 2023
113 points (97.5% liked)

Fediverse

27490 readers
589 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 1 year ago
MODERATORS
 

I have built an AutoMod bot for my instance, lemmy.basedcount.com. The bot covers the following features:

  • Automated removal
    • of posts, based on their title, content or link
    • of comments, based on their content
    • configurable with either regular expressions or substrings
  • User whitelisting and exceptions for moderators to selectively lift some or all of the aforementioned rules for certain users.
  • Mention based pinning and locking of a post, through commands exclusively available to the mod team
  • Discord notifications for new registration applications through a webhook. [only for admins]

Naturally, the bot is completely open source. I have also written a rather comprehensive (albeit long-winded) documentation and some examples.

This project is mainly targeted towards admins of small instances, however anyone can spin up their own AutoMod instance for their favourite community (provided they are a moderator there).
The automoderator is also available as a Docker image, for ease of installation.

Feel free to suggest any additional features that you might want to see added to this bot.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 11 months ago (2 children)

Ah, the bane of Reddit arrives

[–] [email protected] 13 points 11 months ago (2 children)

Can you elaborate? Is that supposed to ber a good thing or a bad one?

[–] [email protected] 16 points 11 months ago (2 children)

I never had a problem with its behind the scenes actions, but the AutoMod sticky comment at the top with the entirely of War and Peace was always annoying.

[–] [email protected] 6 points 11 months ago

I can see how that would be annoying. Luckily enough I forgot that was a feature back on Reddit, so my bot isn't able to do that :)

[–] [email protected] 2 points 11 months ago

Apollo had an option to auto collapse it. Maybe Voyager should take that feature on too.

[–] [email protected] 6 points 11 months ago (1 children)

Like anything, it's how it's implemented.

New users can find posting rules complicated, and getting constant automod rejections along with shadowbanning new users makes the whole thing tiresome.

[–] [email protected] 15 points 11 months ago (2 children)

constant automod rejections along with shadowbanning new users

Fuck that. I had that suggested as a feature and downright refused to implement it. It will never be a thing in my bot. This is entirely about reviewing content, not people.

There's no way to discriminate one based on their account age, instance, what communities they follow or other bullshit systems such as Reddit's karma.

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago) (1 children)

Although account-based filtering can be useful for managing obvious spam (e.g., a brand new account posting links).

[–] [email protected] 3 points 11 months ago

That is true, but it's a slippery slope I would rather not walk anywhere near. In my humble opinion, account based AutoMod restrictions were the first small steps for the enshittification of Reddit and I wouldn't want to be responsible for such a thing happening to Lemmy.

[–] [email protected] 5 points 11 months ago
[–] [email protected] 4 points 11 months ago (1 children)

Unlike reddit. Moderator don't have absolute power on here. Alternative communities does exist and if you manage to get banned on multiple ones then maybe it's not the moderators that are the problem.

[–] [email protected] 6 points 11 months ago (1 children)

The new user onboarding experience at Reddit is fucking awful. Every sub has an automod, most shadowban new users or have such elaborate posting rules it can make posting not worth the effort

[–] [email protected] 3 points 11 months ago

True but your comparing small communities of enthusiasts vs big corpo. Again , alternative communities with different rules still exists.

[–] [email protected] 4 points 11 months ago

Nice! Your based rating has definitely increased

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

Is there a good way of notifying the user about what happened when their post/comment was blocked/banned?

I've had times on other services where my comment keeps disappearing and I think; okay is it my VPN? is it a bug? Is it my account? Is it that all URL's are banned? Is it a keyword? It's extremely infuriating to try and guess-and-check when no explanation is given. So I'm hoping there's some kind of feature for that.

[–] [email protected] 3 points 11 months ago

I got the same question from another user under my lemmy.ml crosspost, I guess this is a hot feature. Yes there is a way to do that.

When setting a removal rule for a post or a comment, mods can fill an optional message field. After having removed the content (according to the rule), the bot will reply to the user with whatever has been written in said field.

So say your comment got removed because you said a banned word, the AutoMod would reply to your removed comment with a message saying: "Your post has been removed because [...]", depending on what the mods have configured. To clear any doubt, they can also specify a removal reason for the modlog.