You can now send Discord bot messages with Components V2 , an opt-in layout system that treats text, images, files, and buttons as flexible components you can arrange in any order.
Set the adapter's contentFormat option to ComponentsV2 and cards render with native containers, sections, media galleries, separators, buttons, and string selects. Embeds remain the default, so existing bots work unchanged.
import { Actions , Button , Card , CardText , Image , LinkButton , Section } from "chat" ;
import { createDiscordAdapter , DiscordContentFormat } from "@chat-adapter/discord" ;
const discord = createDiscordAdapter ( {
contentFormat : DiscordContentFormat . ComponentsV2 ,
} ) ;
await thread .…