slick reply¶
Reply to a Slack thread by parent timestamp. reply is a top-level command, not a subcommand of message, so the runbook for thread responses lives here.
slick reply --channel C1234567890 --parent 1746284582.123456 --message "Investigating"
echo "Fixed in deploy 1234" | slick reply --channel C1234567890 --parent 1746284582.123456 --file -
slick reply --channel C1234567890 --parent 1746284582.123456 --blocks --file blocks.json
Use a Slack channel ID or an alias configured in the selected workspace profile. Aliases resolve locally before the Slack request and in dry-run previews. Surrounding whitespace is removed from the channel and parent timestamp. The parent otherwise stays an exact string. Replies require an explicit channel; default_channel never supplies the target.
Flags¶
Flags
| Flag | Value | Description |
|---|---|---|
-c, --channel | <CHANNEL> | Channel ID or configured alias |
-p, --parent | <TS> | Parent message timestamp |
-m, --message | <TEXT> | Message body |
-f, --file | <FILE> | Read message body from file or - for stdin |
-b, --blocks | Treat message source as raw Block Kit JSON | |
-n, --dry-run | Preview without sending |
Attribution flags
Accepted by the four mutating commands (message send, message edit, reply, file upload):
| Flag | Value | Description |
|---|---|---|
--[no-]attribution | Toggle attribution for this command | |
--attribution-label | <LABEL> | Override attribution label |
--attribution-emoji | <EMOJI> | Override attribution emoji |
--attribution-message | <TEXT> | Override attribution message |
A custom label appears in the generated caption, including manual runs: --attribution --attribution-label "Release helper" produces Sent via slick (Release helper). An explicit --attribution-message supplies the caption instead. Emoji overrides change its leading emoji.
The attribution toggles are bare switches. Pass --attribution or --no-attribution; explicit forms such as --attribution=false are rejected. The two switches are mutually exclusive. Presentation overrides do not enable attribution by themselves.
Use exactly one body source: --message or --file; --file - reads stdin. Raw Block Kit omits notification text instead of posting the JSON source there. Its dry-run preview contains validated data.message.blocks and omits text. Removing --blocks, or passing --blocks=false, restores Markdown and its readable fallback text. See message source behavior.
Output¶
Human (--dry-run):
A real reply uses Slack’s returned ts and adds permalink=... when the permalink lookup succeeds.
JSON data excerpt (real reply) mirrors message send and uses Slack's returned message, including SDK-decoded attachments and files, client_msg_id, and edited metadata when present. slick does not fetch file URLs. data.message.thread_ts records the actual thread anchor when Slack includes it. If the parent was deleted and Slack posts outside the thread, this field is absent. Check the receipt rather than assuming the reply used the requested parent. A threaded reply's permalink can include query parameters identifying the thread:
{
"data": {
"message": {
"type": "message",
"text": "Investigating",
"ts": "1778534628.573559",
"thread_ts": "1746284582.123456",
"channel": "C1234567890"
},
"permalink": "https://example.slack.com/archives/C1234567890/p1778534628573559?thread_ts=1746284582.123456&cid=C1234567890",
"attribution": true
}
}
JSON data excerpt (--dry-run). ts is the literal "dry-run", permalink is absent, and dry_run: true is present:
Common errors¶
| Error | Cause | Fix |
|---|---|---|
validation_error: parent is required | Missing --parent. | Provide the parent message timestamp; verify with history list --thread. |
message_not_found (not_found, exit 2) | Parent timestamp does not exist in this channel. | Confirm channel and timestamp via history. |
| Markdown handling | Same as message send: block-level fallbacks preserve source text. | — |
See also¶
message— top-level send/edit/delete.history list --thread— read replies before posting.- Slack API method:
chat.postMessage.
A missing or invalid Slack acknowledgement returns server_error (exit 5). The mutation may already have happened. Slick does not replay it automatically; inspect Slack before deciding whether to try again. Sends require the returned message identifiers, and scheduled sends require the assigned scheduling ID.