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 51960f6
Browse filesBrowse the repository at this point in the historyBrowse 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]>
Copy file name to clipboardExpand all lines: docs/channels/discord.md
+1-19Lines changed: 1 addition & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1168,27 +1168,10 @@ Default gate behavior:
1168
1168
1169
1169
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.
1170
1170
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`.
1172
1171
-`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`.
1173
1172
-`embeds` are ignored when components v2 are present.
1174
1173
- Plain URL previews are suppressed by default. Set `suppressEmbeds: false` on a message action when a single outbound link should expand.
1175
1174
1176
-
Example:
1177
-
1178
-
```json5
1179
-
{
1180
-
channels: {
1181
-
discord: {
1182
-
ui: {
1183
-
components: {
1184
-
accentColor:"#5865F2",
1185
-
},
1186
-
},
1187
-
},
1188
-
},
1189
-
}
1190
-
```
1191
-
1192
1175
## Voice
1193
1176
1194
1177
Discord has two distinct voice surfaces: realtime **voice channels** (continuous conversations) and **voice message attachments** (the waveform preview format). The gateway supports both.
0 commit comments