You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3704069
Browse filesBrowse the repository at this point in the historyBrowse files
Add the `chat:write.customize` bot scope if you want outgoing messages to use the active agent identity (custom username and icon) instead of the default Slack app identity.
288
556
@@ -536,30 +804,37 @@ Notes:
536
804
537
805
## Commands and slash behavior
538
806
539
-
- Native command auto-mode is **off** for Slack (`commands.native: "auto"` does not enable Slack native commands).
540
-
- Enable native Slack command handlers with `channels.slack.commands.native: true` (or global `commands.native: true`).
541
-
- When native commands are enabled, register matching slash commands in Slack (`/<command>` names), with one exception:
542
-
- register `/agentstatus` for the status command (Slack reserves `/status`)
543
-
- If native commands are not enabled, you can run a single configured slash command via `channels.slack.slashCommand`.
544
-
- Native arg menus now adapt their rendering strategy:
545
-
- up to 5 options: button blocks
546
-
- 6-100 options: static select menu
547
-
- more than 100 options: external select with async option filtering when interactivity options handlers are available
548
-
- if encoded option values exceed Slack limits, the flow falls back to buttons
549
-
- For long option payloads, Slash command argument menus use a confirm dialog before dispatching a selected value.
550
-
551
-
Default slash command settings:
807
+
Slash commands appear in Slack as either a single configured command or multiple native commands. Configure `channels.slack.slashCommand` to change command defaults:
552
808
553
809
-`enabled: false`
554
810
-`name: "openclaw"`
555
811
-`sessionPrefix: "slack:slash"`
556
812
-`ephemeral: true`
557
813
558
-
Slash sessions use isolated keys:
814
+
```txt
815
+
/openclaw /help
816
+
```
817
+
818
+
Native commands require [manifest changes](#optional-native-slash-commands) to your Slack app and are enabled with `channels.slack.commands.native: true` or `commands.native: true` in global configurations instead.
819
+
820
+
- Native command auto-mode is **off** for Slack so `commands.native: "auto"` does not enable Slack native commands.
821
+
822
+
```txt
823
+
/help
824
+
```
825
+
826
+
Native argument menus use an adaptive rendering strategy that shows a confirmation modal before dispatching a selected option value:
559
827
560
-
-`agent:<agentId>:slack:slash:<userId>`
828
+
- up to 5 options: button blocks
829
+
- 6-100 options: static select menu
830
+
- more than 100 options: external select with async option filtering when interactivity options handlers are available
831
+
- exceeded Slack limits: encoded option values fall back to buttons
832
+
833
+
```txt
834
+
/think
835
+
```
561
836
562
-
and still route command execution against the target conversation session (`CommandTargetSessionKey`).
837
+
Slash sessions use isolated keys like `agent:<agentId>:slack:slash:<userId>`and still route command executions to the target conversation session using `CommandTargetSessionKey`.
0 commit comments