Skip to content

Discord Components V2

The clear and complete guide to building modern messages with your Discord bot. Every component with a preview, JSON and code in JavaScript, Python and Go.
Preview
My BotAPPToday at 12:00 PM

Welcome to Components V2!

Build messages with containers, sections, images and buttons, all placed exactly where you want.


A preview of everything

Every example is rendered like in Discord, so you know how it will look before you code it.

Copy-ready JSON

The exact payload the Discord API expects. Works with any language.

JavaScript, Python and Go

Examples with discord.js, discord.py and discordgo in synced tabs.

Limits and errors

Every official limit and the most common errors, with their fixes.