r/ideasfortheadmins 1d ago

Moderator my idea is: splittable automoderator rules

let automod rules live in multiple yaml files in the wiki. it would make complex rulesets easier to handle

one large file is hard to read und you possibly break everything by messing one thing up.

config
├───account_checks.yaml
├───flair_settings.yaml
└───spam_protection.yaml
6 Upvotes

3 comments sorted by

4

u/Alan-Foster 1d ago

Can we just have numbered lines first?

3

u/thepottsy 1d ago

I like the idea on paper. Not sure how well it would actually work in practice.

1

u/pheexio 1d ago

It works great, however it’s not standard yaml and requires a custom handler.

others have already tackled this (though not at scale like a service liek reddit). here are a couple of approaches:

Stack Overflow post

Home Assistant Docs

maybe mods shouldn't be editing yaml files in the first place? It's super powerful, but definitely a bit of a hassle for non-tech folks i think