summary refs log tree commit diff
path: root/etc/pronouns/bot.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2025-12-22 18:28:01 +0000
committerJune McEnroe <june@causal.agency>2025-12-22 18:28:01 +0000
commit3d3efde29bf865a4afbe5f638b8b59beb82d0eac (patch)
tree190066bdedf9528b5ae1308408da36734f68dcef /etc/pronouns/bot.sh
parentLet -n prevent posting (diff)
downloadsrc-3d3efde29bf865a4afbe5f638b8b59beb82d0eac.tar.gz
src-3d3efde29bf865a4afbe5f638b8b59beb82d0eac.zip
Expand regular expression HEAD master
Look people should just use the field name "pronouns".
Diffstat (limited to 'etc/pronouns/bot.sh')
-rw-r--r--etc/pronouns/bot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pronouns/bot.sh b/etc/pronouns/bot.sh
index b631fd40..8b7c9802 100644
--- a/etc/pronouns/bot.sh
+++ b/etc/pronouns/bot.sh
@@ -45,7 +45,7 @@ for follower_id in $followers 112284333737697665; do
 		printf '%s' "${account}" |
 		jq -r '
 			.fields |
-			map(select(.name | test("^prono(un|m)s?[?]?$"; "i"))) |
+			map(select(.name | test("^prono(un|m)s?[?]?$|^((professional|leisure|casual) |anti-)no(un|m)s?$"; "i"))) |
 			.[].value
 		'
 	)