create_guild_sticker

Function create_guild_sticker 

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

Creates a new sticker in a guild.

§Arguments

  • client - The HTTP client used to send the request.
  • token - The bot token for authentication.
  • guild_id - The ID of the guild.
  • sticker_data - The JSON value of the sticker data.

§Returns

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