One feature of some Reddit subs that I've seen to be very valuable is programmable automoderation. Are there any plans, or existing ideas for SN to add this kind of feature for territory owners?
Example use case:
- add customizable territory-specific post types/labels replacing "link" or "discussion" such as News/Meme/Social Media/Shitpost
- require a citation link in the post for particular labels such as News, or have your post auto-removed
- check for a previously posted meme with an identical image or repeated links to the same social media post
One way to achieve this is to add a sandboxed scripting language like Lua with hooks that are called when events occur, like a new post being created. Assuming code executes server-side, there would need to be hard limits on script memory usage, allowable CPU time and, access.
The other option would be to create a REST API for automod code running elsewhere for SN hooks to call when events occur. This has the advantage of allowing any language and relaxing concerns of server load, but has some security implications to consider.
Reddit's tools:
https://www.reddit.com/wiki/automoderator/