prcolor

Privateunrated

Content

19 lines
{require:638655579845296128,724336431002026044,723126889971187712,702939274848370888,715305895046676540,703165388850069514,717069693877223424,717303597359956018,732519611337015306}
{=(color):#{replace(#,):{1}}}
{=(ur):{user(roleids)}}
{=(checkstaff):{contains(638655579845296128):{user(roleids)}}}
{=(debug):{if({checkstaff}==true):726121771094376449|726330380986089499}}
{=(role):{if({contains({user(id)}):247049835759403010 396640298828169218}==true):{ur(0)}|{if({checkstaff}==true):{ur(-2)}|{ur(0)}}}}

{silent}{override}
{c:rank c +{debug}}
{c:role color {role} {1}}
{c:rank c -{debug}}

{=(hexchecklist):0 1 2 3 4 5 6 7 8 9 a b c d e f}
{=(inputcheck):{lower:{1}}}
{=(hexinputcheck):{replace(, ):{inputcheck(2):#}}}
{=(hexcheck):{or({in(false):{contains({hexinputcheck(2)}):{hexchecklist}}{contains({hexinputcheck(3)}):{hexchecklist}}{contains({hexinputcheck(4)}):{hexchecklist}}{contains({hexinputcheck(5)}):{hexchecklist}}{contains({hexinputcheck(6)}):{hexchecklist}}{contains({hexinputcheck(7)}):{hexchecklist}}}==true|{hexinputcheck}==|{hexinputcheck(8+)}!=):false|true}}

{=(output):{if({hexcheck}==true):<@&{role}> changed from {user(color)} to {color}! | <:potatoerror:589566547559841812> please choose a *valid* hex color from <https://www.color-hex.com/>}}
{embed(color):{if({hexcheck}==true):{color}|#ef4847}}

Embed

1 line
{"color": 5198940, "description": "{output}"}
Raw JSON
{
  "id": 228247,
  "created_at": "2022-04-26T10:36:41.110Z",
  "tag_name": "prcolor",
  "nsfw": false,
  "owner_id": "396640298828169218",
  "uses": 143,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "635543172298178583",
  "sharer": "396640298828169218",
  "content": "{require:638655579845296128,724336431002026044,723126889971187712,702939274848370888,715305895046676540,703165388850069514,717069693877223424,717303597359956018,732519611337015306}\n{=(color):#{replace(#,):{1}}}\n{=(ur):{user(roleids)}}\n{=(checkstaff):{contains(638655579845296128):{user(roleids)}}}\n{=(debug):{if({checkstaff}==true):726121771094376449|726330380986089499}}\n{=(role):{if({contains({user(id)}):247049835759403010 396640298828169218}==true):{ur(0)}|{if({checkstaff}==true):{ur(-2)}|{ur(0)}}}}\n\n{silent}{override}\n{c:rank c +{debug}}\n{c:role color {role} {1}}\n{c:rank c -{debug}}\n\n{=(hexchecklist):0 1 2 3 4 5 6 7 8 9 a b c d e f}\n{=(inputcheck):{lower:{1}}}\n{=(hexinputcheck):{replace(, ):{inputcheck(2):#}}}\n{=(hexcheck):{or({in(false):{contains({hexinputcheck(2)}):{hexchecklist}}{contains({hexinputcheck(3)}):{hexchecklist}}{contains({hexinputcheck(4)}):{hexchecklist}}{contains({hexinputcheck(5)}):{hexchecklist}}{contains({hexinputcheck(6)}):{hexchecklist}}{contains({hexinputcheck(7)}):{hexchecklist}}}==true|{hexinputcheck}==|{hexinputcheck(8+)}!=):false|true}}\n\n{=(output):{if({hexcheck}==true):<@&{role}> changed from {user(color)} to {color}! | <:potatoerror:589566547559841812> please choose a *valid* hex color from <https://www.color-hex.com/>}}\n{embed(color):{if({hexcheck}==true):{color}|#ef4847}}",
  "embed": "{\"color\": 5198940, \"description\": \"{output}\"}",
  "last_fetched": "2026-10-20T21:48:38.341Z"
}