discord.updateRole update a Discord server role.
automations/discord-update-role.automation.ts
Inputs
Required server and role IDs. Optionalname, decimal permissions, color, hoist, mentionable, and audit-log reason. Optional second argument { account } selects the Discord binding.
Output
Returns the updatedDiscordRole.
Discord behavior
RequiresMANAGE_ROLES; the target role must be below the bot’s highest role.