Skip to content
Moderation roleGradient

$roleGradient

$roleGradient is another name of $setRoleColors[], 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 $setRoleColors for the details.

Syntax

$roleGradient[roleID;color;(secondaryColor);(tertiaryColor);(reason)]

Example

$roleGradient[roleID;color;secondaryColor;tertiaryColor;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.