Skip to content

Commit e636ba6

Browse files
committed
docs(slack): move slash command settings to matching section
1 parent 32ba917 commit e636ba6

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎docs/channels/slack.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,19 @@ For actions/directory reads, user token can be preferred when configured. For wr
218218
- if encoded option values exceed Slack limits, the flow falls back to buttons
219219
- For long option payloads, Slash command argument menus use a confirm dialog before dispatching a selected value.
220220

221+
Default slash command settings:
222+
223+
- `enabled: false`
224+
- `name: "openclaw"`
225+
- `sessionPrefix: "slack:slash"`
226+
- `ephemeral: true`
227+
228+
Slash sessions use isolated keys:
229+
230+
- `agent:<agentId>:slack:slash:<userId>`
231+
232+
and still route command execution against the target conversation session (`CommandTargetSessionKey`).
233+
221234
## Interactive replies
222235

223236
Slack can render agent-authored interactive reply controls, but this feature is disabled by default.
@@ -267,19 +280,6 @@ Notes:
267280
- The interactive callback values are OpenClaw-generated opaque tokens, not raw agent-authored values.
268281
- If generated interactive blocks would exceed Slack Block Kit limits, OpenClaw falls back to the original text reply instead of sending an invalid blocks payload.
269282

270-
Default slash command settings:
271-
272-
- `enabled: false`
273-
- `name: "openclaw"`
274-
- `sessionPrefix: "slack:slash"`
275-
- `ephemeral: true`
276-
277-
Slash sessions use isolated keys:
278-
279-
- `agent:<agentId>:slack:slash:<userId>`
280-
281-
and still route command execution against the target conversation session (`CommandTargetSessionKey`).
282-
283283
## Threading, sessions, and reply tags
284284

285285
- DMs route as `direct`; channels as `channel`; MPIMs as `group`.

0 commit comments

Comments
 (0)