mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
@@ -4,7 +4,7 @@ title: Display Components
|
||||
|
||||
While you might be familiar with [embeds](./embeds) in Discord, there are more ways to style and format your apps messages using **display components**, a comprehensive set of layout and content elements.
|
||||
|
||||
To use the display components, you need to pass the `IsComponentsV2` message flag (in docs: `MessageFlags`) when sending a message. You only need to use this flag when sending a message using the display components system, not when deffering interaction responses.
|
||||
To use the display components, you need to pass the `IsComponentsV2` message flag (in docs: `MessageFlags`) when sending a message. You only need to use this flag when sending a message using the display components system, not when deferring interaction responses.
|
||||
|
||||
<Callout type="warn">
|
||||
Opting into using this system by passing the `IsComponentsV2` flag comes with a set of caveats:
|
||||
|
||||
Reference in New Issue
Block a user