pub async fn send_embed_message(
client: &Client,
token: &str,
channel_id: &str,
title: &str,
description: &str,
) -> Result<(), Box<dyn Error>>Expand description
Sends an embed message to a specified Discord channel.
§Arguments
client- The HTTP client used to send the request.token- The bot token for authentication.channel_id- The ID of the channel to send the embed message to.title- The title of the embed.description- The description of the embed.
§Returns
A result indicating success or failure.