Skip to main content

preview_embed

Function preview_embed 

Source
fn preview_embed(message: &Message, channel: &GuildChannel) -> CreateEmbed
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.