Skip to main content

preview_embed

Function preview_embed 

Source
fn preview_embed(message: &Message, channel: &Channel) -> Embed
Expand description

Renders a fetched message as the embed posted in the requester’s channel.

Optional parts of the source message stay unset rather than being sent as an empty string: Discord rejects "" where it expects a URL or footer text.