Embeds

Reply to messages with embeds, rather than basic text.

There are two methods of integrating embeds into your slash command system. You could either create an interaction directly in the the "Receiving the event" block by adding an embed in the interaction data, or by creating a function and calling it when the interaction is created.

Big thanks to MoonL#6995 and yanuu#2137 for providing the examples below. Go check them out and support them on GitHub.

Click the headings below to jump to the page which expands on the various methods of implementing embeds in more detail and to get code examples.

Respond to embeds right in the interaction.

The better and more organized method of responding to embeds, by utilizing a function.

Last updated