Functiondiscord-component-embedv0.2.1
Throws:
a
ComponentEmbedErrorwhen the tree breaks a rule of the format, or when your own code throws while the tree is read.
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 tree is read.
toComponentEmbedJson(root: EmbedElement): stringroot: EmbedElement