Skip to content
Functiondiscord-component-embedv1.1.0

componentEmbedResponse

Builds the Response for a URL that a <link rel="discord:component-embed"> tag points at. Return it from that route.

Throws:

componentEmbedResponse(root: EmbedElement): Response