Skip to content
Moderation roleIcon

$roleIcon

$roleIcon is another name of $setRoleIcon[], added for scripts written for the BDFD announcement of 01/12/2026. It takes the same arguments and does the same thing; read the page of $setRoleIcon for the details.

Syntax

$roleIcon[roleID;(icon);(reason)]

Example

$roleIcon[roleID;icon;reason]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.