Rename update to modify
This commit is contained in:
parent
9559b15b8a
commit
7147ac5daf
|
@ -120,13 +120,13 @@ impl types::RoleObject {
|
|||
.await
|
||||
}
|
||||
|
||||
/// Updates a role in a guild.
|
||||
/// Modifies a role in a guild.
|
||||
///
|
||||
/// Requires the [`MANAGE_ROLES`](crate::types::PermissionFlags::MANAGE_ROLES) permission.
|
||||
///
|
||||
/// # Reference
|
||||
/// See <https://discord-userdoccers.vercel.app/resources/guild#modify-guild-role>
|
||||
pub async fn update(
|
||||
pub async fn modify(
|
||||
user: &mut UserMeta,
|
||||
guild_id: Snowflake,
|
||||
role_id: Snowflake,
|
||||
|
|
Loading…
Reference in New Issue