Skip to main content
discord.updateRole update a Discord server role.
automations/discord-update-role.automation.ts

Inputs

Required server and role IDs. Optional name, decimal permissions, color, hoist, mentionable, and audit-log reason. Optional second argument { account } selects the Discord binding.

Output

Returns the updated DiscordRole.

Discord behavior

Requires MANAGE_ROLES; the target role must be below the bot’s highest role.