Function modify_channel
Source pub async fn modify_channel(
client: &Client,
token: &str,
channel_id: &str,
settings: Value,
) -> Result<(), Box<dyn Error>>
Expand description
Modifies a Discord channel.
§Arguments
client
- The HTTP client used to send the request.
token
- The bot token for authentication.
channel_id
- The ID of the channel to modify.
settings
- The JSON value of the settings to update.
§Returns
A result indicating success or failure.