Skip to main content

get_guild_sticker

Function get_guild_sticker 

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

Fetches a guild sticker by its ID.

§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 fetch.

§Returns

A result containing the guild sticker information as a JSON value.