Alchemy.Client.edit_role
You're seeing just the function
edit_role
, go back to Alchemy.Client module for more information.
Link to this function
edit_role(guild_id, role_id, options)
Specs
edit_role(snowflake(), snowflake(), name: String.t(), permissions: Integer, color: Integer, hoist: Booean, mentionable: Boolean ) :: {:ok, Alchemy.Guild.role()} | {:error, term()}
Edits a preexisting role in a guild.
The same as create_role/2
except that this operates on a role that has already
been created. See that function for discussion.