• March 10, 2023

How to make an embed on Discord The Modern Geek

How to make an embed on Discord ?

Thanks to bots, Discord is different from Slack, Wiki, WordPress, etc. They are created from the main modern programming languages. These features are especially popular with gamers and developers. The platform has also provided specific documentation to help any beginner on Markdown, JSON (JavaScript Object Notation)..

C’What is a Discord embed ?

The embed are quite easy to understand by performing a reconciliation with URLs. These are links pointing directly to specific resources. Thus, only the targeted media will be imported when you embed the URL of a YouTube video in a thread.

Your web browser will redirect you to this content when you click on it with your cursor.

With a embed code On Discord, or Discord Nitro, you have the opportunity to to embed much more complex resources. The operation involves, this time, embedding part of the original web page on another platform. This technique allows you to keep certain features of the item, such as GIF animations, thumbnails, etc.

On Discord, video game and programming enthusiasts appreciate the fact that they can use tags, bots.. The addition of in the feedback as well is a practice very common in this community. This method allows to recognize an experienced user on the platform.

All in all, the embed on Discord does not significantly deviate from the usual practices in this area. However, watch out for character limits on title (256), description (2048), field.name (256), field.value (1024), footer.text (2048) and author.name (256). Moreover, you can’t exceed 6,000 characters on all fields to validate the message.

You must also respect the rules and syntaxes of rigor for the js code, embend, etc. Otherwise, your requests will not be valid and your message will not be sent (Bad Request). You cannot, for example, leave a field empty, null or undefined.

You must also fill in at least one value. Nevertheless, each field is in principle optional.

How to make ?

Nowadays, you can discover on the Internet a myriad of embed generators and libraries for Discord. This is the fastest way to broadcast rich messages on this chat service. You will have access to various templates based on Javascript, JSON… You can also discover a sample adapted to certain situations, if you master programming.

In addition, this type of platform often offers a very practical dashboard. You can, for example, fill in the predefined embed and view the result at the same time. Some sites also allow you to simultaneously translate these elements into Python, Java, HTML, XML, CSS, etc.

On the other hand, the use of embed builder allows to limit the risk of errors in the codes and the information of the fields. Indeed, it is enough to have a problem with tags, quotation marks, bullets, etc., to get a Bad Request. From this kind of cheat sheet, you can then use the options export, scratch, insert, etc.

Other online services, on the other hand, require specific knowledge on the subject. Nevertheless, these sites usually provide a tutorial or detailed instructions to help you. That said, if you have to read up on embedding, go straight to the tutorial tab of Discord.

This part of the platform also includes various practical tips for users.

The official documentation also contains many illustrations to control the functioning of the messages on the site. It also explains how to join a Discord server. For example, you need to send at least one embed or content in the body of the message.

It is also necessary to specify the type of reference code when configuring the options (application/json). This specification is decisive for the validity of the message.