Skip to content

Commit a160c3f

Browse files
authored
Update using-message-components.mdx (#7499)
Made `flags` an integer instead of string type.
1 parent 4c148be commit a160c3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/components/using-message-components.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ All content must be sent as components instead of using the standard message for
3030

3131
```json
3232
{
33-
"flags": "32768",
33+
"flags": 32768,
3434
"components": [
3535
{
3636
"type": 10,
@@ -46,7 +46,7 @@ To send a message with multiple components, you can include multiple component o
4646

4747
```json
4848
{
49-
"flags": "32768",
49+
"flags": 32768,
5050
"components": [
5151
{
5252
"type": 10,
@@ -68,7 +68,7 @@ For example, you can create a message with an Action Row component that contains
6868

6969
```json
7070
{
71-
"flags": "32768",
71+
"flags": 32768,
7272
"components": [
7373
{
7474
"type": 10,
@@ -103,4 +103,4 @@ See the [list of supported component types](/docs/components/reference#component
103103

104104
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.
105105

106-
Check out the [Interactions documentation](/docs/interactions/overview) for more information on handling interactions and responding to user input from interactive components.
106+
Check out the [Interactions documentation](/docs/interactions/overview) for more information on handling interactions and responding to user input from interactive components.

0 commit comments

Comments
 (0)