docs(cli): add components send example

This commit is contained in:
Sebastian
2026-02-17 09:58:37 -05:00
parent 4536a6e05f
commit c0072be6a6
3 changed files with 29 additions and 0 deletions

View File

@@ -191,6 +191,16 @@ openclaw message send --channel discord \
--target channel:123 --message "hi" --reply-to 456
```
Send a Discord message with components:
```
openclaw message send --channel discord \
--target channel:123 --message "Choose:" \
--components '{"text":"Choose a path","blocks":[{"type":"actions","buttons":[{"label":"Approve","style":"success"},{"label":"Decline","style":"danger"}]}]}'
```
See [Discord components](/channels/discord#interactive-components) for the full schema.
Create a Discord poll:
```