Function serenity::http::edit_nickname [] [src]

pub fn edit_nickname(guild_id: u64, new_nickname: Option<&str>) -> Result<()>

Edits the current user's nickname for the provided Guild via its Id.

Pass None to reset the nickname.