Functiondiscord-component-embedv0.2.2
Throws:
a
ComponentEmbedErrorwhen the tree breaks a rule of the format, or when your own code throws while the package reads it.
toComponentEmbedJson(root: EmbedElement): stringroot
root: EmbedElementThrows:
a ComponentEmbedError when the tree breaks a rule of the format, or when your own code throws while the package reads it.
toComponentEmbedJson(root: EmbedElement): stringroot: EmbedElement