diff options
Diffstat (limited to 'etc/pronouns/bot.sh')
| -rw-r--r-- | etc/pronouns/bot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pronouns/bot.sh b/etc/pronouns/bot.sh index 9dabffb6..aa613bd9 100644 --- a/etc/pronouns/bot.sh +++ b/etc/pronouns/bot.sh @@ -25,7 +25,7 @@ followers=$( jq -r 'map(select(.acct | contains("@") | not)) | .[].id' ) -for follower_id in $followers; do +for follower_id in $followers 112284333737697665; do account=$( curl -Ss \ -H "Authorization: Bearer ${access_token}" \ @@ -36,7 +36,7 @@ for follower_id in $followers; do printf '%s' "${account}" | jq -r ' .fields | - map(select(.name | test("^pronouns?[?]?$"; "i"))) | + map(select(.name | test("^prono(un|m)s?[?]?$"; "i"))) | .[].value ' ) |