slack-term 1.41.1 → 1.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -139,6 +139,9 @@ ANS=$(slack ask "@bob" "本番に出してよい?" "出してよい" "待って"
139
139
  slack ask "#eng" "@alice この PR 出してよい?" "出す" "待つ" # only alice's answer counts
140
140
  slack ask "#eng" "@here 誰か見れる?" "見る" "あとで" # anyone in #eng; real broadcast
141
141
  # (In a 1:1 DM the other party counts automatically — no tag needed.)
142
+ # A tag that resolves to no one (no match, ambiguous, or the user list could not be read)
143
+ # refuses the ask rather than dropping that answerer. With --as-bot, @tags and an
144
+ # @user destination resolve with the bot token (it needs users:read).
142
145
  #
143
146
  # With no choices the question asks for a free-text reply and the reply is the answer.
144
147
  # In a DM a plain reply counts; in a channel only reactions and thread replies do.
package/SKILL.md CHANGED
@@ -160,6 +160,9 @@ without losing clicks. A reaction is durable state anyone can read back later.
160
160
  whole channel). Only their reaction/reply is taken as the answer; an unaddressed
161
161
  question is refused (exit 3) rather than let the first bystander decide it. In a 1:1 DM
162
162
  the other party counts automatically.
163
+ A tag that resolves to no one (no match / ambiguous / user list unreadable) refuses the
164
+ ask (exit 3) — use `<@USERID>` to be explicit. With `--as-bot`, tags and an `@user`
165
+ destination resolve with the bot token (so the bot needs `users:read`).
163
166
  - **Answer paths**: a pill, or free text. In a DM a plain reply counts; in a channel only
164
167
  reactions and thread replies do (a channel carries unrelated traffic).
165
168
  - **❓ is the standing "other" choice.** Every question with choices lists it last