From dbed45bf6004f465a6d7453b26da00df87121b25 Mon Sep 17 00:00:00 2001 From: 13eck Date: Tue, 22 Apr 2025 20:20:24 -0400 Subject: [PATCH] Update using-message-components.mdx Made `flags` an integer instead of string type. --- docs/components/using-message-components.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/components/using-message-components.mdx b/docs/components/using-message-components.mdx index 6cf26fc671..21e28ca469 100644 --- a/docs/components/using-message-components.mdx +++ b/docs/components/using-message-components.mdx @@ -30,7 +30,7 @@ All content must be sent as components instead of using the standard message for ```json { - "flags": "32768", + "flags": 32768, "components": [ { "type": 10, @@ -46,7 +46,7 @@ To send a message with multiple components, you can include multiple component o ```json { - "flags": "32768", + "flags": 32768, "components": [ { "type": 10, @@ -68,7 +68,7 @@ For example, you can create a message with an Action Row component that contains ```json { - "flags": "32768", + "flags": 32768, "components": [ { "type": 10, @@ -103,4 +103,4 @@ See the [list of supported component types](/docs/components/reference#component You can use this information to respond to the interaction, update the message, or perform other actions, such as displaying a modal based on the user's input. -Check out the [Interactions documentation](/docs/interactions/overview) for more information on handling interactions and responding to user input from interactive components. \ No newline at end of file +Check out the [Interactions documentation](/docs/interactions/overview) for more information on handling interactions and responding to user input from interactive components.