Better "Format your code" canned replies?

Understood, but that’s possibly part of the issue.
This is about reciprocity. Community building is about people and relationships. Healthy communities work on mutual respect. Unhealthy communities are missing that part. People don’t feel accountable to anyone because they don’t give a s*** about what anyone else thinks or feels. Your job is to build relationships with members so that they WANT to do things to help you.

The latter.