discord_set_role_icon
Set or clear a Discord role's icon using an image URL or unicode emoji; pass null to remove it. Requires server Boost Level 2+ and Manage Roles.
Instructions
Set or clear a role's icon, either a custom image or a unicode emoji. Requires the server to be Boost Level 2+ (the ROLE_ICONS feature) and the Manage Roles permission. Pass null to either field to remove that icon. Returns a confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Image URL for the role icon, or null to remove it. | |
| role_id | Yes | ID (snowflake) of the role to set the icon on. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| unicode_emoji | No | Unicode emoji to use as the role icon, or null to remove it. |