for community moderators
Screen a post before it goes up
Judge a post against each rule on its own. decide asks one narrow question per rule.
The post calls the author an idiot. decide says true and exits 0.
question="Does this post insult someone?"
cat <<'EOF' |
The author is an idiot and this take is lazy.
EOF
thinkthen decide "$question"Output
true
exit 0: yes
The post is not spam. decide says false and exits 1.
question="Is this post spam?"
cat <<'EOF' |
The author is an idiot and this take is lazy.
EOF
thinkthen decide "$question"Output
false
exit 1: no
The functions it uses
On GitHub: github.com/botassembly/thinkthen