Skip to content

Commit 51960f6

Browse files
docs(discord): drop retired ui.components.accentColor and fix heartbeat key name (#118216)
* docs(discord): drop retired ui.components.accentColor and fix heartbeat key name * docs(discord): remove the retired accent-color example block --------- Co-authored-by: Peter Steinberger <[email protected]>
1 parent 20fe561 commit 51960f6

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

‎docs/channels/discord.md‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,27 +1168,10 @@ Default gate behavior:
11681168

11691169
OpenClaw uses Discord components v2 for exec approvals and cross-context markers. Discord message actions can also accept `components` for custom UI (advanced; requires constructing a component payload via the discord tool), while legacy `embeds` remain available but are not recommended.
11701170

1171-
- `channels.discord.ui.components.accentColor` sets the accent color used by Discord component containers (hex). Per account: `channels.discord.accounts.<id>.ui.components.accentColor`.
11721171
- `channels.discord.agentComponents.ttlMs` controls how long sent Discord component callbacks remain registered (default `1800000`, maximum `86400000`). Per account: `channels.discord.accounts.<id>.agentComponents.ttlMs`.
11731172
- `embeds` are ignored when components v2 are present.
11741173
- Plain URL previews are suppressed by default. Set `suppressEmbeds: false` on a message action when a single outbound link should expand.
11751174

1176-
Example:
1177-
1178-
```json5
1179-
{
1180-
channels: {
1181-
discord: {
1182-
ui: {
1183-
components: {
1184-
accentColor: "#5865F2",
1185-
},
1186-
},
1187-
},
1188-
},
1189-
}
1190-
```
1191-
11921175
## Voice
11931176

11941177
Discord has two distinct voice surfaces: realtime **voice channels** (continuous conversations) and **voice message attachments** (the waveform preview format). The gateway supports both.
@@ -1714,8 +1697,7 @@ Primary reference: [Configuration reference - Discord](/gateway/config-channels#
17141697
- media: `mediaMaxMb` (caps outbound Discord uploads, default `100`)
17151698
- actions: `actions.*`
17161699
- presence: `activity`, `status`, `activityType`, `activityUrl`, `autoPresence.*`
1717-
- UI: `ui.components.accentColor`
1718-
- features: `threadBindings`, top-level `bindings[]` (`type: "acp"`), `pluralkit`, `execApprovals`, `intents`, `agentComponents.enabled`, `agentComponents.ttlMs`, `activities`, `heartbeat`, `responsePrefix`
1700+
- features: `threadBindings`, top-level `bindings[]` (`type: "acp"`), `pluralkit`, `execApprovals`, `intents`, `agentComponents.enabled`, `agentComponents.ttlMs`, `activities`, `heartbeatVisibility`, `responsePrefix`
17191701

17201702
</Accordion>
17211703

0 commit comments

Comments
 (0)