From ad45c8649e3c7ec1d09081a349fb0d66258cbbc7 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Sat, 17 May 2025 20:09:04 -0400 Subject: [PATCH 1/2] Add missing comma in component reference example --- docs/components/reference.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/reference.mdx b/docs/components/reference.mdx index 95252d7f72..f8579be410 100644 --- a/docs/components/reference.mdx +++ b/docs/components/reference.mdx @@ -98,7 +98,7 @@ Action Rows can contain: ```json { - "flags": 32768 + "flags": 32768, "components": [ { "type": 1, From f2011832689066624b03bc862e7a8ae3f05df977 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Sun, 18 May 2025 21:25:51 -0400 Subject: [PATCH 2/2] Remove more commas --- docs/components/using-message-components.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/using-message-components.mdx b/docs/components/using-message-components.mdx index f43f8271e8..a409559135 100644 --- a/docs/components/using-message-components.mdx +++ b/docs/components/using-message-components.mdx @@ -39,7 +39,7 @@ All content must be sent as components instead of using the standard message for { "type": 10, "content": "This is a message using the Text Display component" - }, + } ] } ``` @@ -59,7 +59,7 @@ To send a message with multiple components, you can include multiple component o { "type": 10, "content": "This is another Text Display component!" - }, + } ] } ```