Skip to main content

send_reply

Function send_reply 

Source
async fn send_reply(
    ctx: &Context,
    request: &Message,
    content: &str,
) -> Option<Message>
Expand description

Sends content as a reply to request, suppressing link-preview embeds.

Returns the sent message so callers (namely ping) can edit it afterwards. Returns None (after logging) if the send fails.