Skip to content

Commit ec2c1b5

Browse files
committed
fix: note that embeds and content field will error in v2
1 parent b5de205 commit ec2c1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interactions/Message_Components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Components are a field on the [message object](#DOCS_RESOURCES_MESSAGE/message-o
3131
| 16 | Content Inventory Entry | Cannot be used by bots | 1, 2 |
3232
| 17 | Container | Container for other components | 2 |
3333

34-
\* Using `v2` components requires setting the [message flag](#DOCS_RESOURCES_MESSAGE/message-object-message-flags) `1 << 15`.
34+
\* Using `v2` components requires setting the [message flag](#DOCS_RESOURCES_MESSAGE/message-object-message-flags) `1 << 15`. Setting the flag will disable the ability to set the `content` and `embeds` field and therefore will throw `Invalid Form Body` if either is sent.
3535

3636
The structure of each component type is described in detail below.
3737

0 commit comments

Comments
 (0)