modify_guild_onboarding

Function modify_guild_onboarding 

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

Modifies the onboarding settings of a Discord guild.

§Arguments

  • client - The HTTP client used to send the request.
  • token - The bot token for authentication.
  • guild_id - The ID of the guild to modify the onboarding settings for.
  • settings - The JSON value of the settings to update.

§Returns

A result indicating success or failure.