@@ -352,7 +352,7 @@ By default, components are single use. Set `components.reusable=true` to allow b
|
352 | 352 | |
353 | 353 | To restrict who can click a button, set `allowedUsers` on that button (Discord user IDs, tags, or `*`). When configured, unmatched users receive an ephemeral denial. |
354 | 354 | |
355 | | -Component callbacks expire after 30 minutes by default. Set `channels.discord.agentComponents.ttlMs` to change that callback registry lifetime for the default Discord account, or `channels.discord.accounts.<accountId>.agentComponents.ttlMs` to override one account in a multi-account setup. The value is milliseconds, must be a positive integer, and is capped at `604800000` (7 days). Longer TTLs are useful for review or approval workflows that need buttons to remain usable, but they also extend the window where an old Discord message can still trigger an action. Prefer the shortest TTL that fits the workflow, and keep the default when stale callbacks would be surprising. |
| 355 | +Component callbacks expire after 30 minutes by default. Set `channels.discord.agentComponents.ttlMs` to change that callback registry lifetime for the default Discord account, or `channels.discord.accounts.<accountId>.agentComponents.ttlMs` to override one account in a multi-account setup. The value is milliseconds, must be a positive integer, and is capped at `86400000` (24 hours). Longer TTLs are useful for review or approval workflows that need buttons to remain usable, but they also extend the window where an old Discord message can still trigger an action. Prefer the shortest TTL that fits the workflow, and keep the default when stale callbacks would be surprising. |
356 | 356 | |
357 | 357 | The `/model` and `/models` slash commands open an interactive model picker with provider, model, and compatible runtime dropdowns plus a Submit step. `/models add` is deprecated and now returns a deprecation message instead of registering models from chat. The picker reply is ephemeral and only the invoking user can use it. Discord select menus are limited to 25 options, so add `provider/*` entries to `agents.defaults.models` when you want the picker to show dynamically discovered models only for selected providers such as `openai-codex` or `vllm`. |
358 | 358 | |
@@ -1138,7 +1138,7 @@ OpenClaw uses Discord components v2 for exec approvals and cross-context markers
|
1138 | 1138 | |
1139 | 1139 | - `channels.discord.ui.components.accentColor` sets the accent color used by Discord component containers (hex). |
1140 | 1140 | - Set per account with `channels.discord.accounts.<id>.ui.components.accentColor`. |
1141 | | -- `channels.discord.agentComponents.ttlMs` controls how long sent Discord component callbacks remain registered (default `1800000`, maximum `604800000`). Set per account with `channels.discord.accounts.<id>.agentComponents.ttlMs`. |
| 1141 | +- `channels.discord.agentComponents.ttlMs` controls how long sent Discord component callbacks remain registered (default `1800000`, maximum `86400000`). Set per account with `channels.discord.accounts.<id>.agentComponents.ttlMs`. |
1142 | 1142 | - `embeds` are ignored when components v2 are present. |
1143 | 1143 | - Plain URL previews are suppressed by default. Set `suppressEmbeds: false` on a message action when a single outbound link should expand. |
1144 | 1144 | |
|