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

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.