Skip to main content

delete_guild_sticker

Function delete_guild_sticker 

Source
pub async fn delete_guild_sticker(
    client: &Client,
    token: &str,
    guild_id: &str,
    sticker_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description

Deletes a guild sticker.

§Arguments

  • client - The HTTP client used to send the request.
  • token - The bot token for authentication.
  • guild_id - The ID of the guild.
  • sticker_id - The ID of the sticker to delete.

§Returns

A result indicating success or failure.