From 0c429eabaab65d1f86aee6e7e61e5943f3b9a58d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 9 Aug 2026 09:18:10 +0000 Subject: [PATCH] chore: autofix docs formatting --- docs/scnx-api/reference/message-schema-v4.md | 32 ++++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/scnx-api/reference/message-schema-v4.md b/docs/scnx-api/reference/message-schema-v4.md index a49cf158..3b7a1f1e 100644 --- a/docs/scnx-api/reference/message-schema-v4.md +++ b/docs/scnx-api/reference/message-schema-v4.md @@ -386,9 +386,9 @@ content. ``` | `scnx_action` field | Type | Description | -| ------------------- | ------ | --------------------------------------------------------------------------------------------------------- | -| `type` | string | `"flowButton"` | -| `flowId` | string | ID of the flow to start when clicked. | +| ------------------- | ------ | ---------------------------------------------------------------------------------------------------------- | +| `type` | string | `"flowButton"` | +| `flowId` | string | ID of the flow to start when clicked. | | `state` | string | Optional. A short state string handed to the flow (readable from the button's trigger). Max 80 characters. | :::note Reserved @@ -400,12 +400,12 @@ reserved and ships with the flow executor milestone. Do not emit it yet. At send time SCNX derives each flow component's Discord `custom_id` from its `scnx_action`: -| Action | Generated `custom_id` | -| ----------------------------------- | ------------------------------ | -| `flowButton` without `state` | `ccv3:` | -| `flowButton` with `state` `s` | `ccv3::` | -| a raw custom id with no flow target | `` verbatim | -| `flowWaitButton` (reserved) | `ccv3w::` | +| Action | Generated `custom_id` | +| ----------------------------------- | -------------------------- | +| `flowButton` without `state` | `ccv3:` | +| `flowButton` with `state` `s` | `ccv3::` | +| a raw custom id with no flow target | `` verbatim | +| `flowWaitButton` (reserved) | `ccv3w::` | #### Button Fields {#button-fields} @@ -512,20 +512,20 @@ Starts a flow when an option is chosen. **Guild-specific** - not recommended for } ``` -| `scnx_action` field | Type | Description | +| `scnx_action` field | Type | Description | | ------------------- | ------ | ------------------------------------------------- | | `type` | string | `"flowElement"` | | `flowId` | string | ID of the flow to start when an option is chosen. | #### String Select Fields {#string-select-fields} -| Field | Type | Required | Description | -| ------------- | ------- | -------- | --------------------------------------------------------------------------------------- | -| `placeholder` | string | No | Text shown when nothing is selected. Max 150 characters. | -| `min_values` | integer | No | Minimum selections required (Self-Role only). Default: `0`. | -| `max_values` | integer | No | Maximum selections allowed (Self-Role only). Default: number of options, max: `25`. | +| Field | Type | Required | Description | +| ------------- | ------- | -------- | -------------------------------------------------------------------------------------------------- | +| `placeholder` | string | No | Text shown when nothing is selected. Max 150 characters. | +| `min_values` | integer | No | Minimum selections required (Self-Role only). Default: `0`. | +| `max_values` | integer | No | Maximum selections allowed (Self-Role only). Default: number of options, max: `25`. | | `scnx_action` | object | Yes | `{ "type": "roleElement" }`, `{ "type": "customCommandElement" }`, or `{ "type": "flowElement" }`. | -| `options` | array | Yes | 1–25 options. | +| `options` | array | Yes | 1–25 options. | #### Option Fields {#option-fields}