Function delete_guild_integration
Source pub async fn delete_guild_integration(
client: &Client,
token: &str,
guild_id: &str,
integration_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description
Deletes an integration from 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.
integration_id
- The ID of the integration to delete.
§Returns
A result indicating success or failure.